s3: Fix reading beyond the end of a named stream in xattr_streams
authorVolker Lendecke <vl@samba.org>
Wed, 16 Sep 2009 01:20:49 +0000 (03:20 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Oct 2009 13:00:18 +0000 (15:00 +0200)
commita6c06024a836425ad155d9380a3e62ab069d2e1c
tree95f05a5017ea0318df7e7058613c425b244280f1
parent20894847f146939f1d3f726a238d8bfb9bd9a842
s3: Fix reading beyond the end of a named stream in xattr_streams

This was found thanks to a test by Sivani from Microsoft against Samba at the
SDC plugfest
(cherry picked from commit 444a05c28df693a745809fef73ae583a78be7c8f)

Fix bug #6731.
(cherry picked from commit ff9355149c9af7ca0e31b36690b270a03cb787fc)
source3/modules/vfs_streams_xattr.c