summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-11-13 18:44:26 +0000
committerGerald Carter <jerry@samba.org>2006-11-13 18:44:26 +0000
commitccdeb35f8362feeea37f1def36c602e9a98f08c0 (patch)
treec64d924fe4c5d191a531b1cdf58a3bb337376450 /source/libsmb
parent76cc7dedb3a5434232a29d3d6e33bf84184e2d76 (diff)
downloadsamba-ccdeb35f8362feeea37f1def36c602e9a98f08c0.tar.gz
samba-ccdeb35f8362feeea37f1def36c602e9a98f08c0.tar.xz
samba-ccdeb35f8362feeea37f1def36c602e9a98f08c0.zip
r19693: merge from SAMBA_3_0_23 tree
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/smb_signing.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/libsmb/smb_signing.c b/source/libsmb/smb_signing.c
index b638800c0f8..e59254b16f3 100644
--- a/source/libsmb/smb_signing.c
+++ b/source/libsmb/smb_signing.c
@@ -613,6 +613,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;
}
@@ -634,6 +638,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;
}