forked from osmocom/wireshark
SMB2: fix Uninitialized variables (UNINIT) (CID 1354418)
Change-Id: I69c949821395e3272cbb5bc7c7a142b5482f9d52 Reviewed-on: https://code.wireshark.org/review/14219 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
This commit is contained in:
parent
656cbdfe4a
commit
aeb0cd08fd
|
@ -1713,7 +1713,6 @@ dissect_smb2_fid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset
|
|||
} else {
|
||||
sfi->name = wmem_strdup_printf(wmem_file_scope(), "[unknown]");
|
||||
}
|
||||
sfi->open_frame = pinfo->num;
|
||||
|
||||
if (si->saved && si->saved->extra_info_type == SMB2_EI_FILENAME) {
|
||||
fid_name = wmem_strdup_printf(wmem_file_scope(), "File: %s", (char *)si->saved->extra_info);
|
||||
|
|
|
@ -54,7 +54,6 @@ typedef struct _smb2_fid_info_t {
|
|||
guint64 fid_volatile;
|
||||
guint64 sesid;
|
||||
guint32 tid;
|
||||
guint32 open_frame;
|
||||
char *name;
|
||||
} smb2_fid_info_t;
|
||||
|
||||
|
|
Loading…
Reference in New Issue