diff options
author | Pascal Quantin <pascal@wireshark.org> | 2019-02-06 10:26:53 +0100 |
---|---|---|
committer | Pascal Quantin <pascal@wireshark.org> | 2019-02-06 10:12:15 +0000 |
commit | 6d04390505cea290dd1563cb9e87b1134aee1861 (patch) | |
tree | 3c8a8221ecf1a47a3daf1caba714014c7e4d04d4 /epan | |
parent | 7753ce58eaa91905a06ca2d429718c6b885a962f (diff) |
GNW: always fully initialize hashgeonw_t structure
Bug: 15484
Change-Id: I082bc578f46958675d32db725014a0b230373cba
Reviewed-on: https://code.wireshark.org/review/31906
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-geonw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-geonw.c b/epan/dissectors/packet-geonw.c index 11227425d2..26aa762ec4 100644 --- a/epan/dissectors/packet-geonw.c +++ b/epan/dissectors/packet-geonw.c @@ -625,6 +625,8 @@ geonw_hash_new_entry(const guint8 *addr, gboolean resolve) _geonw_to_str(addr, tp->hexaddr, 28); tp->resolved_name[0] = '\0'; tp->status = 0; + tp->timestamp = 0; + tp->sequence_number = SN_MAX + 1; if (resolve) geonw_addr_resolve(tp); |