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 5521] Buildbot crash output: randpkt-2010-12-25-25231.pcap

Date: Mon, 27 Dec 2010 11:01:16 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5521

--- Comment #2 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2010-12-27 11:01:15 PST ---
Confirmed on Windows XP w/rev 35273.

packet-dtn's evaluate_sdnv() is returning a value of 2,120,013 at line 433 of
packet-ltp.c within dissect_report_segment(), thus rcpt_clm_cnt is assigned
that large value and when ep_alloc() is attempted at line 443 on
8*rcpt_clm_cnt=16,960,104, ep_alloc() fails through
emem_alloc()/emem_alloc_chunk() because of the DISSECTOR_ASSERT() at line 748:

    /* make sure we dont try to allocate too much (arbitrary limit) */
    DISSECTOR_ASSERT(size<(EMEM_PACKET_CHUNK_SIZE>>2));

... and 16.9M > 2.6M.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.