ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9121] Wireshark generated pcapng files generates a malform

Date: Sun, 22 Sep 2013 17:55:27 +0000

Comment # 3 on bug 9121 from
Hi,
Could you try changing
                        bh.block_total_length += tot_rec_len;

                        if (rec_off + tot_rec_len > NRES_REC_MAX_SIZE)
                                break;
to:
                        if (rec_off + tot_rec_len > NRES_REC_MAX_SIZE)
                                break;
                        bh.block_total_length += tot_rec_len;

In the two places it is used? Please don't check it into trunk as I'm working
on a larger change. If it works it can go into 1.8(?) and 1.10.


You are receiving this mail because:
  • You are watching all bug changes.