s3: Fix reading beyond the end of a named stream in xattr_streams
commitff9355149c9af7ca0e31b36690b270a03cb787fc
authorVolker Lendecke <vl@samba.org>
Wed, 16 Sep 2009 01:20:49 +0000 (16 03:20 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 19 Sep 2009 16:53:13 +0000 (19 18:53 +0200)
tree5f8d8cf28beb97d5e8eadb58277b801c343165d4
parent9c86a96af381f2826456f91eb99073c9fca633de
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.
source3/modules/vfs_streams_xattr.c