Initialize smb ioctl_function struct member
Bug:10020 Change-Id: I415a29dd36697887cb06485d6ed3a2b799a93464 Reviewed-on: https://code.wireshark.org/review/2342 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
74fec38529
commit
f4b9ea4362
|
@ -9042,9 +9042,10 @@ dissect_nt_transaction_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
|
|||
* Allocate a new smb_nt_transact_info_t
|
||||
* structure.
|
||||
*/
|
||||
nti = (smb_nt_transact_info_t *)wmem_alloc(wmem_file_scope(), sizeof(smb_nt_transact_info_t));
|
||||
nti = wmem_new(wmem_file_scope(), smb_nt_transact_info_t);
|
||||
nti->subcmd = subcmd;
|
||||
nti->fid_type = SMB_FID_TYPE_UNKNOWN;
|
||||
nti->ioctl_function = 0;
|
||||
sip->extra_info = nti;
|
||||
sip->extra_info_type = SMB_EI_NTI;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue