diff options
author | Nikolai Ipatyev <wallprime@yandex.com> | 2017-10-28 20:30:24 +0300 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-10-28 17:38:27 +0000 |
commit | 051dcd1086ad98d4c604740a6f95fd8eec9a75d3 (patch) | |
tree | 7c08fae9088ac7d8b09638e92031f97e01e1c4dc /epan/dissectors/packet-fp_mux.c | |
parent | 7df5fcdc51cb2616dc7ec97187e73ab7ecccc7b3 (diff) |
Fix bug in FMPUX heuristic dissector
The variables in the check were reversed
Change-Id: Idc7fc2b88ac1cde699b76423890918ce4b0ac086
Reviewed-on: https://code.wireshark.org/review/24149
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-fp_mux.c')
-rw-r--r-- | epan/dissectors/packet-fp_mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fp_mux.c b/epan/dissectors/packet-fp_mux.c index 2caf1fb9e5..a8067adc53 100644 --- a/epan/dissectors/packet-fp_mux.c +++ b/epan/dissectors/packet-fp_mux.c @@ -308,7 +308,7 @@ static int heur_dissect_fp_mux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr chunks++; } - if(total_length > offset) { + if(offset > total_length) { return FALSE; } |