Fix bug #10229 - No access check verification on stream files.
authorJeremy Allison <jra@samba.org>
Thu, 31 Oct 2013 20:48:42 +0000 (13:48 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 11 Nov 2013 10:52:29 +0000 (11:52 +0100)
commit22b6c3c449b5dd1f10bfd77a74698066b7a8e4c9
tree562d6ab390c0230c311694cd7317a03984d94e2f
parent906db4fe8e6de2de67afa4655603e67d887c370b
Fix bug #10229 - No access check verification on stream files.

https://bugzilla.samba.org/show_bug.cgi?id=10229

We need to check if the requested access mask
could be used to open the underlying file (if
it existed), as we're passing in zero for the
access mask to the base filename.

Signed-off-by: Jeremy Allison <jra@samba.org>
Fix Bug #10235 - CVE-2013-4475: No access check verification on stream files.
https://bugzilla.samba.org/show_bug.cgi?id=10235
(cherry picked from commit 14d48130870579541c07f5a0f64638e635ddce95)
source3/smbd/open.c