libcli/smb: Change some checks to SMB_ASSERTS
commitfdcdfceefdd3186ef0b70bb6e83dddc8f4c073db
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Jan 2021 09:01:39 +0000 (11 10:01 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Jan 2021 07:26:29 +0000 (15 07:26 +0000)
tree94bc0914f573c08d7881a741b79871dafce9848e
parent63e6653be608d76a6f91795671cb19ef912811c1
libcli/smb: Change some checks to SMB_ASSERTS

If we end up here, it's definitely a programming error in the basic
parsing layer of the SMB2 packet.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/smb/smb2_signing.c