[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2215-gddad58f

Jeff Layton jlayton at samba.org
Wed Jun 10 14:28:32 GMT 2009


The branch, master has been updated
       via  ddad58fc41b5ecd1056e444d28020ac1c036a71e (commit)
      from  ad0d8032068fc9b920e205d3f5f923174101d777 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ddad58fc41b5ecd1056e444d28020ac1c036a71e
Author: Jeff Layton <jlayton at redhat.com>
Date:   Wed Jun 10 09:00:21 2009 -0400

    mount.cifs: explicitly handle non AF_INET/AF_INET6 addresses
    
    If we get a non-AF_INET(6) address, then just skip it and try the next
    one in the list.
    
    Signed-off-by: Jeff Layton <jlayton at redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 client/mount.cifs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/client/mount.cifs.c b/client/mount.cifs.c
index f53bcf1..97144a0 100644
--- a/client/mount.cifs.c
+++ b/client/mount.cifs.c
@@ -1548,6 +1548,8 @@ mount_retry:
 			ipaddr = inet_ntop(AF_INET, &addr4->sin_addr, optionstail,
 					   options_size - current_len);
 			break;
+		default:
+			ipaddr = NULL;
 		}
 
 		/* if the address looks bogus, try the next one */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list