s3/smbd: req is already validated at the beginning of open_file_ntcreate()
authorRalph Boehme <slow@samba.org>
Tue, 7 Mar 2017 13:10:39 +0000 (14:10 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 10 Mar 2017 02:28:25 +0000 (03:28 +0100)
commit8580adc1d968304b69237f289d13950972394b48
tree582330e6af36d21e7e69853a4033679d2b0ced3a
parentf5631f6b3520326d4c9a6bae5636fd8d53e66b29
s3/smbd: req is already validated at the beginning of open_file_ntcreate()

req can't be NULL because the if condition surrounding this code checks
!(oplock_request & INTERNAL_OPEN_ONLY).

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c