Wireshark-bugs: [Wireshark-bugs] [Bug 4860] new_packet_list: Crash triggered when changing displ

Date: Wed, 9 Jun 2010 20:40:28 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4860

--- Comment #4 from Bill Meier <wmeier@xxxxxxxxxxx> 2010-06-09 23:40:27 EDT ---

As indicated by Jim, 

The crash happens only using "new_packet_list" (on both Windows & *nix).

-----------

In packet_list-store.c: packet_list_get_value():

 ...
 record = (PacketListRecord*) iter->user_data;
 g_return_if_fail(PACKET_LIST_RECORD_INDEX_VALID(packet_list->physical_rows,
                                                 record->physical_pos));

the g_return_if_fail causes a crash because record == NULL.

I'll defer on this to someone who is familiar with the 'new_packet_list' code.

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