A bug in the vfs_gpfs.c module

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun May 1 14:25:59 MDT 2011


On Sun, May 01, 2011 at 02:38:22PM -0400, Richard Sharpe wrote:
> OK, it seems that there is a bug in the vfs_gpfs.c:gpfs_get_xattr
> function. It returns size, which is the size of the string passed in,
> but in order to prevent ndr_pull_struct_blob from going off the rails
> (actually, ndr_pull_xattr_DOSATTRIB) it should return strlen(attrstr).
> 
> I will prepare a fix and test it on Monday and if that is successful I
> will post it.

This is already fixed in v3-5-test. See the attached patch
(hash 820628a).

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-Attempt-to-fix-bug-8016-gpfs_get_xattr-broken.patch
Type: text/x-diff
Size: 1276 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110501/c01e88c9/attachment.patch>


More information about the samba-technical mailing list