mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
8fe0589cb1
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)