git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d909a60
)
r22850: - Fixes bug 4601. smbc_getxattr() would not, in one case, properly return the
author
Derrell Lipman
<derrell@samba.org>
Mon, 14 May 2007 14:19:30 +0000
(14:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:22:02 +0000
(12:22 -0500)
required size of a buffer needed to contain the extended attributes.
source/libsmb/libsmbclient.c
patch
|
blob
|
history
diff --git
a/source/libsmb/libsmbclient.c
b/source/libsmb/libsmbclient.c
index 7a197f57f806736d297a39d455ea68b40d25b566..b1f073debcca11e06c58cc6dcdd14ebc9139f91a 100644
(file)
--- a/
source/libsmb/libsmbclient.c
+++ b/
source/libsmb/libsmbclient.c
@@
-4699,7
+4699,7
@@
cacl_get(SMBCCTX *context,
ace->access_mask);
}
}
- if (n > bufsize) {
+ if (
!determine_size &&
n > bufsize) {
errno = ERANGE;
return -1;
}