s3: smbd: streams - Ensure share mode validation ignores internal opens (op_mid ...
authorVolker Lendecke <vl@samba.org>
Tue, 9 Sep 2014 10:53:52 +0000 (10:53 +0000)
committerVolker Lendecke <vl@samba.org>
Fri, 12 Sep 2014 10:16:10 +0000 (12:16 +0200)
commitc6e726f719e8c510fc51e681532183803f766ca0
treebd4a59cecb4e1540f162983d93da334920b1fdc4
parentd744eb03c5236284cf0141c1a2f687263cbd8414
s3: smbd: streams - Ensure share mode validation ignores internal opens (op_mid == 0).

Fixes bug 10797 - smbd panic at find_oplock_types

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c