Bug 15088 - smbc_getxattr error with ERANGE
Summary: smbc_getxattr error with ERANGE
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2022-06-07 21:23 UTC by Harald Sitter
Modified: 2022-06-08 17:25 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2022-06-07 21:23:07 UTC
smbc_getxattr and friends can error with ERANGE when the buffer size is too small. This isn't documented.
Comment 1 Jeremy Allison 2022-06-08 17:25:03 UTC
Can you submit a patch with the documentation you'd like to see on this please ?