Add regression test for bug #10229 - No access check verification on stream files.
commitafe7ffd74f1154cf60dc4c89b1fc330ab0373099
authorJeremy Allison <jra@samba.org>
Tue, 29 Oct 2013 22:57:01 +0000 (29 15:57 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 8 Nov 2013 09:49:55 +0000 (8 10:49 +0100)
tree1a3967c7f5b8b0d2d92015c145197bc7d270d173
parenta2c4c0ed96d73f69b15839961d6606eab13064e0
Add regression test for bug #10229 - No access check verification on stream files.

Checks against a file with attribute READONLY, and
a security descriptor denying WRITE_DATA access.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov  4 23:10:10 CET 2013 on sn-devel-104
(cherry picked from commit 65882152cc7ccaba0e7903862b99ca93594ed080)

The last two patches address bug #10235 - CVE-2013-4475: No access
check verification on stream files.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10235
selftest/knownfail
source4/torture/raw/streams.c