diff options
author | Antoine Gardiol <antoine.gardiol@fiveco.ch> | 2021-12-17 11:23:50 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-12-18 06:29:41 +0000 |
commit | e4cd4f92f8de119af548968b539e08bda3d06ad5 (patch) | |
tree | 01ed1ebb9cdbac7f576b6201499af8d1942a7125 /epan | |
parent | f89d53650311c849f0bbd8d5e60ad6d3d2f39c38 (diff) |
5co-legacy: Fix dissector unique hash computing
*** CID 1495425: Integer handling issues (CONSTANT_EXPRESSION_RESULT) in packet-5co-legacy.c: 765 in fiveco_hash()
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-5co-legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-5co-legacy.c b/epan/dissectors/packet-5co-legacy.c index dfa27714d2..3d5148cfda 100644 --- a/epan/dissectors/packet-5co-legacy.c +++ b/epan/dissectors/packet-5co-legacy.c @@ -762,7 +762,7 @@ static guint fiveco_hash(gconstpointer v) const FCOSConvRequestKey *key = (const FCOSConvRequestKey *)v; guint val; - val = key->conversation + (((key->usExpCmd) << 16) & 0xFFFF) + + val = key->conversation + (((key->usExpCmd) & 0xFFFF) << 16) + (key->unInternalID & 0xFFFFFFFF) + ((key->unInternalID >>32) & 0xFFFFFFFF); return val; |