Add regression test for bug #10229 - No access check verification on stream files.
commit761096f8f19eb2ed9d2fc6de3fb22a25d86c7a27
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:13:43 +0000 (8 10:13 +0100)
tree42956fae6bfe7ce55434ee50621eaf79b3bf38a7
parenta6d74c4fd347817abf4f7b5b954db8382dcfb9cd
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.
selftest/knownfail
source4/torture/raw/streams.c