svn commit: samba r24543 - in branches/SAMBA_3_2/source/libsmb: .

derrell at samba.org derrell at samba.org
Sat Aug 18 17:29:39 GMT 2007


Author: derrell
Date: 2007-08-18 17:29:39 +0000 (Sat, 18 Aug 2007)
New Revision: 24543

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24543

Log:
Apply missing portion of correction for bug 4750
Modified:
   branches/SAMBA_3_2/source/libsmb/libsmbclient.c


Changeset:
Modified: branches/SAMBA_3_2/source/libsmb/libsmbclient.c
===================================================================
--- branches/SAMBA_3_2/source/libsmb/libsmbclient.c	2007-08-18 12:26:30 UTC (rev 24542)
+++ branches/SAMBA_3_2/source/libsmb/libsmbclient.c	2007-08-18 17:29:39 UTC (rev 24543)
@@ -3536,6 +3536,11 @@
 
 	}
 
+        if (offset == -1) {     /* Seek to the end of the list */
+                dir->dir_next = NULL;
+                return 0;
+        }
+
 	/* Now, run down the list and make sure that the entry is OK       */
 	/* This may need to be changed if we change the format of the list */
 



More information about the samba-cvs mailing list