diff options
author | Evan Huus <eapache@gmail.com> | 2014-05-25 11:13:04 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-05-25 18:12:00 +0000 |
commit | 08ce84ebbe91eaaccd8bbf8c8d43c8cecfc7945a (patch) | |
tree | 1ee03c6b55a52e996fbf1ec25befe127cb071385 /epan/dissectors/packet-dcerpc-netlogon.c | |
parent | c4ead251da7199cfd746d378c51eb8c30d09a6ba (diff) |
Grab-bag of dead initializers and two actual bugs.
All caught by cppcheck. The two (semi)-interesting bugs are:
- in asn1/atn-cpdlc/packet-atn-cpdlc-template.c where the break statement should
have been inside the brace, causing potential control-flow weirdness with
exceptions
- in epan/dissectors/packet-ieee80211.c where the bounds check for tag_len did
not match the expert info given
Change-Id: Ie173fb8d917aabb9b4571435d671d6f16e1c7569
Reviewed-on: https://code.wireshark.org/review/1793
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-netlogon.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-netlogon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c index 52527bd2b3..c2ad75935e 100644 --- a/epan/dissectors/packet-dcerpc-netlogon.c +++ b/epan/dissectors/packet-dcerpc-netlogon.c @@ -2502,7 +2502,6 @@ netlogon_dissect_netrserverreqchallenge_rqst(tvbuff_t *tvb, int offset, vars->next = NULL; generate_hash_key(pinfo,0,key,NULL); - existing_vars = NULL; existing_vars = (netlogon_auth_vars *)g_hash_table_lookup(netlogon_auths, key); if (!existing_vars) { debugprintf("Adding initial vars with this start packet = %d\n",vars->start); |