Bug 9338 - libreplace does not replace getxattr correctly for 0 length semantics
libreplace does not replace getxattr correctly for 0 length semantics
Status: RESOLVED FIXED
Product: Samba 4.0
Classification: Unclassified
Component: Other
4.0.0rc3
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
:
Depends on:
Blocks: 8622
  Show dependency treegraph
 
Reported: 2012-10-30 06:28 UTC by Andrew Bartlett
Modified: 2012-10-31 11:06 UTC (History)
1 user (show)

See Also:


Attachments
lib/replace getxattr patch from master (2.08 KB, patch)
2012-10-30 06:28 UTC, Andrew Bartlett
metze: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2012-10-30 06:28:21 UTC
Created attachment 8119 [details]
lib/replace getxattr patch from master

This patch corrects getxattr and fgetxattr on FreeBSD and IRIX. 

When we ask for 0 length, we should return what length we need.
Comment 1 Stefan Metzmacher 2012-10-31 01:37:30 UTC
Comment on attachment 8119 [details]
lib/replace getxattr patch from master

Looks good
Comment 2 Stefan Metzmacher 2012-10-31 01:38:01 UTC
Karolin, please pick for v4-0-test
Comment 3 Karolin Seeger 2012-10-31 08:55:43 UTC
Pushed to autobuild-v4-0-test.
Comment 4 Karolin Seeger 2012-10-31 11:06:38 UTC
(In reply to comment #3)
> Pushed to autobuild-v4-0-test.

Pushed to v4-0-test.
Closing out bug report.

Thanks!