svn commit: samba r22851 - in branches/SAMBA_3_0_26/source/libsmb: .
derrell at samba.org
derrell at samba.org
Mon May 14 14:21:43 GMT 2007
Author: derrell
Date: 2007-05-14 14:21:42 +0000 (Mon, 14 May 2007)
New Revision: 22851
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22851
Log:
- Fixes bug 4601. smbc_getxattr() would not, in one case, properly return the
required size of a buffer needed to contain the extended attributes.
Modified:
branches/SAMBA_3_0_26/source/libsmb/libsmbclient.c
Changeset:
Modified: branches/SAMBA_3_0_26/source/libsmb/libsmbclient.c
===================================================================
--- branches/SAMBA_3_0_26/source/libsmb/libsmbclient.c 2007-05-14 14:19:30 UTC (rev 22850)
+++ branches/SAMBA_3_0_26/source/libsmb/libsmbclient.c 2007-05-14 14:21:42 UTC (rev 22851)
@@ -4709,7 +4709,7 @@
ace->access_mask);
}
}
- if (n > bufsize) {
+ if (!determine_size && n > bufsize) {
errno = ERANGE;
return -1;
}
More information about the samba-cvs
mailing list