forked from osmocom/wireshark
WSMP: Make sure our PSID is initialized.
Fixes a scan-build warning. Change-Id: I5e6b94240e87684fc41ef1a4daf4272d429f00d4 Reviewed-on: https://code.wireshark.org/review/30952 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
f7def1d07f
commit
0dfa4e8253
|
@ -214,6 +214,7 @@ dissect_wsmp_psid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int o
|
|||
guint32 psidLen = 0;
|
||||
|
||||
oct = tvb_get_guint8(tvb, offset);
|
||||
*psid = 0;
|
||||
|
||||
if ((oct & 0xF0) == 0xF0) {
|
||||
psidLen = 255;
|
||||
|
|
Loading…
Reference in New Issue