diff options
author | Dan Robertson <drobertson@tripwire.com> | 2018-02-22 20:47:11 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-03-07 15:15:22 +0100 |
commit | d6753a1c87ab3c0320694e3ec6bf59e123162933 (patch) | |
tree | 26b16cef57285246549cbbc142eb7cbd2cb3a6ef /nsswitch | |
parent | e176cabddd32168b0ee5f3493ff78eaadf6940e8 (diff) | |
download | samba-d6753a1c87ab3c0320694e3ec6bf59e123162933.tar.gz |
libsmb: Use smb2 tcon if conn_protocol >= SMB2_02
When the connection protocol is SMB2 the tid from the smb1 member is
used instead of smb2 in cli_state_set_tid which often results in a null
deref.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13310
Signed-off-by: Dan Robertson <drobertson@tripwire.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit b67ffaf518c971817b167b41bf6226cddfdcfd2f)
Diffstat (limited to 'nsswitch')
0 files changed, 0 insertions, 0 deletions