]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Don't use initialized garbage for address lengths
authorSteve Dickson <steved@redhat.com>
Wed, 15 Jul 2009 10:21:54 +0000 (06:21 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 15 Jul 2009 10:21:54 +0000 (06:21 -0400)
Make sure address lengths are initialized before
call calling nfs_extract_server_addresses() from
nfs_rewrite_pmap_mount_options(). Otherwise the
length check in nfs_string_to_sockaddr() can fail
since its will be using garbage from the stack.

Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found