diff options
author | Gerald Combs <gerald@wireshark.org> | 2020-10-02 10:16:13 -0700 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2020-10-02 21:26:12 +0000 |
commit | 22e7ddb63789ff603641be116ee24834ca7631f9 (patch) | |
tree | 23b41e2df031730451913d339992403a1c8a587a /epan/dissectors | |
parent | 4a0d8d4ef6cd26dceef15e9e7b981ce81ec60536 (diff) |
LBMSRS: Break out of a loop.
Break out of a loop if our offset advances. Fixes #16886.
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-lbmsrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lbmsrs.c b/epan/dissectors/packet-lbmsrs.c index d428cea316..369d55b256 100644 --- a/epan/dissectors/packet-lbmsrs.c +++ b/epan/dissectors/packet-lbmsrs.c @@ -2279,7 +2279,7 @@ static guint dissect_lbmsrs_batch(tvbuff_t * tvb, packet_info * pinfo, proto_tre } /*if nothing is dissected then return the current offset*/ - if (FALSE == can_dissect_further) + if (FALSE == can_dissect_further || len_dissected < 1) { col_append_fstr(pinfo->cinfo, COL_INFO, "SIR:%u SER:%u SDR:%u RIR:%u RER:%u RDR:%u WIR:%u WER:%u WDR:%u SLI:%u]", cnt_sir, cnt_ser, cnt_sdr, cnt_rir, cnt_rer, cnt_rdr, cnt_wir, cnt_wer, cnt_wdr, cnt_sli); |