ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5837] Wireshark (and tshark) crashes on http traffic - dis

Date: Sun, 17 Apr 2011 09:39:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5837

--- Comment #2 from Bill Meier <wmeier@xxxxxxxxxxx> 2011-04-17 12:39:53 EDT ---
This crash appears to be somehow related to the recent change in packet-tcp.c
which added a 'tcp.data' field.

The actual crash (in Wireshark 1.4.5) is caused when code in bytes_repr_len()
tries to get the length of a tcp.data FT_BYTES field and finds the
'value.bytes' field to have a NULL ptr.

The funny thing: The crash doesn't occur on my latest Windows SVN version of
Wireshark.

I'll not have any further time today to work on this ....



bytes_repr_len(_fvalue_t * fv=0x05f02128, ftrepr rtype=FTREPR_DFILTER)  Line 74
+ 0x6 bytes    C

fvalue_string_repr_len(_fvalue_t * fv=0x05f02128, ftrepr rtype=FTREPR_DFILTER) 
Line 298 + 0x12 bytes    C

fvalue_to_string_repr(_fvalue_t * fv=0x05f02128, ftrepr rtype=FTREPR_DFILTER,
char * buf=0x00000000)  Line 307 + 0xd bytes    C

fvt_cache_cb(_proto_node * node=0x05f00870, void * data=0x00000000)  Line 87 +
0x1d bytes    C

proto_tree_traverse_post_order(_proto_node * tree=0x05f00870, int (_proto_node
*, void *)* func=0x006c7aa0, void * data=0x00000000)  Line 537 + 0xb bytes    C

proto_tree_traverse_post_order(_proto_node * tree=0x05f005e8, int (_proto_node
*, void *)* func=0x006c7aa0, void * data=0x00000000)  Line 534 + 0x11 bytes   
C

proto_tree_traverse_post_order(_proto_node * tree=0x05f00a50, int (_proto_node
*, void *)* func=0x006c7aa0, void * data=0x00000000)  Line 534 + 0x11 bytes   
C

dfilter_macro_build_ftv_cache(void * tree_root=0x05f00a50)  Line 96 + 0x10
bytes    C

cf_select_packet(_capture_file * cf=0x005dd7a0, int row=0x00000003)  Line 4208
+ 0x12 bytes    C

new_packet_list_select_cb(_GtkTreeView * tree_view=0x05ce00c8, void *
data=0x00000000)  Line 1040 + 0xe bytes    C

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