Comment # 1
on bug 9393
from Evan Huus
Backtrace:
#0 dissect_ndmp_message (tvb=0x25ddad0, pinfo=0x25c1158, tree=0x25500a0) at
packet-ndmp.c:3166
#1 0x00007fb640dcf5de in tcp_dissect_pdus (tvb=tvb@entry=0x25dda80,
pinfo=pinfo@entry=0x25c1158, tree=0x25500a0, proto_desegment=1,
fixed_len=fixed_len@entry=4, get_pdu_len=get_pdu_len@entry=0x7fb640bdf6e0
<get_ndmp_pdu_len>,
dissect_pdu=dissect_pdu@entry=0x7fb640be2500 <dissect_ndmp_message>) at
packet-tcp.c:2238
#2 0x00007fb640be246f in dissect_ndmp (tvb=0x25dda80, pinfo=0x25c1158,
tree=<optimized out>, data="" out>) at packet-ndmp.c:3496
#3 0x00007fb640761c5f in call_dissector_through_handle
(handle=handle@entry=0x2435694, tvb=tvb@entry=0x25dda80,
pinfo=pinfo@entry=0x25c1158,
tree=tree@entry=0x25500a0, data="" at packet.c:513
#4 0x00007fb640762515 in call_dissector_work (handle=0x2435694, tvb=0x25dda80,
pinfo_arg=0x25c1158, tree=0x25500a0, add_proto_name=0,
data="" at packet.c:604
#5 0x00007fb640762b7c in dissector_try_uint_new (sub_dissectors=<optimized
out>, uint_val=uint_val@entry=10000, tvb=tvb@entry=0x25dda80,
pinfo=pinfo@entry=0x25c1158, tree=tree@entry=0x25500a0,
add_proto_name=add_proto_name@entry=0, data="" at
packet.c:1035
#6 0x00007fb640dcf7bc in decode_tcp_ports (tvb=tvb@entry=0x25dda30,
offset=<optimized out>, pinfo=pinfo@entry=0x25c1158, tree=tree@entry=0x25500a0,
src_port=src_port@entry=2516, dst_port=dst_port@entry=10000,
tcpd=tcpd@entry=0x25c9104, tcpinfo=tcpinfo@entry=0x7fffab0bd400) at
packet-tcp.c:3873
#7 0x00007fb640dcfcdf in process_tcp_payload (tvb=tvb@entry=0x25dda30,
offset=offset@entry=20, pinfo=pinfo@entry=0x25c1158, tree=tree@entry=0x25500a0,
tcp_tree=tcp_tree@entry=0x25c67f4, src_port=src_port@entry=2516,
dst_port=dst_port@entry=10000, seq=seq@entry=0, nxtseq=nxtseq@entry=0,
is_tcp_segment=is_tcp_segment@entry=0, tcpd=tcpd@entry=0x25c9104,
tcpinfo=tcpinfo@entry=0x7fffab0bd400) at packet-tcp.c:3927
#8 0x00007fb640dd02d9 in desegment_tcp (tcpinfo=0x7fffab0bd400,
tcpd=0x25c9104, tcp_tree=0x25c67f4, tree=0x25500a0, dport=10000, sport=2516,
nxtseq=657211983, seq=657211730, offset=20, pinfo=0x25c1158, tvb=0x25dda30)
at packet-tcp.c:1752
#9 dissect_tcp_payload (tvb=tvb@entry=0x25dda30, pinfo=pinfo@entry=0x25c1158,
offset=offset@entry=20, seq=<optimized out>,
nxtseq=nxtseq@entry=657211983, sport=2516, dport=10000,
tree=tree@entry=0x25500a0, tcp_tree=tcp_tree@entry=0x25c67f4,
tcpd=tcpd@entry=0x25c9104,
tcpinfo=tcpinfo@entry=0x7fffab0bd400) at packet-tcp.c:3994
#10 0x00007fb640dd1de7 in dissect_tcp (tvb=<optimized out>, pinfo=0x25c1158,
tree=0x25500a0) at packet-tcp.c:4778
Not sure what's going on here, it looks like just a missing p_add_proto_data in
dissect_ndmp (to match the one in dissect_ndmp_heur)?
Michael, presumably this is from r53036. Would it be simpler to add a data
parameter to tcp_dissect_pdus?