diff options
-rw-r--r-- | source3/libsmb/smb_signing.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/libsmb/smb_signing.c b/source3/libsmb/smb_signing.c index a2df0cc38a..df74b2db36 100644 --- a/source3/libsmb/smb_signing.c +++ b/source3/libsmb/smb_signing.c @@ -616,6 +616,10 @@ BOOL client_set_trans_sign_state_on(struct cli_state *cli, uint16 mid) return True; } + if (!data) { + return False; + } + if (!set_sequence_can_delete_flag(&data->outstanding_packet_list, mid, False)) { return False; } @@ -637,6 +641,10 @@ BOOL client_set_trans_sign_state_off(struct cli_state *cli, uint16 mid) return True; } + if (!data) { + return False; + } + if (!set_sequence_can_delete_flag(&data->outstanding_packet_list, mid, True)) { return False; } |