Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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.