Fix bug #10229 - No access check verification on stream files.
commit60f922bf1bd8816eacbb32c24793ad1f97a1d9f2
authorJeremy Allison <jra@samba.org>
Mon, 28 Oct 2013 23:59:20 +0000 (28 16:59 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 4 Nov 2013 20:10:18 +0000 (4 12:10 -0800)
tree9acff2a89887e28e1281e0d9827332d193381718
parent4061954990dfa0f898f278a536a9f0995d774a00
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>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: David Disseldorp <ddiss@suse.de>
source3/smbd/open.c