s3: smbd: Change get_lanman2_dir_entry() to return the full NTSTATUS.
commit2fc8d0e0e85cd118f114f234a7eac3902d01c32e
authorJeremy Allison <jra@samba.org>
Tue, 26 Aug 2014 22:05:24 +0000 (26 15:05 -0700)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 15 Sep 2014 23:56:55 +0000 (16 01:56 +0200)
tree111fee8c5f9fc285d4fef7248df1f98696977390
parentc9877eaf1b0ee83e4227483cb6891f94712bd32f
s3: smbd: Change get_lanman2_dir_entry() to return the full NTSTATUS.

Handle the errors correctly at the level above inside the SMB1 server.

Bug 10775 - smbd crashes when accessing garbage filenames

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/smbd/trans2.c