diff options
author | Steve Dickson <steved@redhat.com> | 2009-07-15 06:21:54 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-07-15 06:21:54 -0400 |
commit | b46dc42505da799a05a3a5e8f004b308f6b9eef7 (patch) | |
tree | a12a39da61901986854695144f5defc4daad4417 /support/nfs/getport.c | |
parent | 906f0b27730b0506a24ed43029983b4d6819dd12 (diff) | |
download | nfs-utils-b46dc42505da799a05a3a5e8f004b308f6b9eef7.tar.gz nfs-utils-b46dc42505da799a05a3a5e8f004b308f6b9eef7.tar.xz nfs-utils-b46dc42505da799a05a3a5e8f004b308f6b9eef7.zip |
Don't use initialized garbage for address lengths
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>
Diffstat (limited to 'support/nfs/getport.c')
0 files changed, 0 insertions, 0 deletions