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 9232] Buildbot crash output: fuzz-2013-10-04-22971.pcap

Date: Sat, 05 Oct 2013 18:02:13 +0000

Comment # 3 on bug 9232 from
I believe this is because g_snprintf returns "the number of bytes which would
be produced if the buffer was large enough" which can of course be larger than
the actual number of bytes written.

I think adding the following after every g_snprintf should work:
if (strpos > MAX_SDP_LEN) strpos = MAX_SDP_LEN;


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