smbd/msdfs: add null check for session_info.unix_info
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 3 Jul 2018 23:03:42 +0000 (11:03 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Jul 2018 02:31:59 +0000 (04:31 +0200)
commita9c6ec66bc52d288dcd9f26371e3639345ffe8b5
treed304586a55b791993435f44a000af9f915134184
parentaec40e3a39e27766015113d0f6978faaaaa92e88
smbd/msdfs: add null check for session_info.unix_info

When a session_info passed down to here, the unix_info could be NULL.

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

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/smbd/msdfs.c