Project

General

Profile

Actions

Bug #2144

closed

rust: panic in dns/tcp

Added by Victor Julien over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

#0  0x0000000000a2b3ad in rust_panic ()
#1  0x0000000000a12d83 in sys_common::unwind::begin_unwind_inner::hd4253a1812044857bct ()
#2  0x0000000000a136e9 in sys_common::unwind::begin_unwind_fmt::h281339998baa4cbdhbt ()
#3  0x0000000000a41262 in rust_begin_unwind ()
#4  0x0000000000a57320 in panicking::panic_fmt::h0d7335d3d6686f32zYL ()
#5  0x0000000000a57e19 in panicking::panic::h64c7ea62c5c222316WL ()
#6  0x00000000009e42d5 in suricata::vec::Vec<T>::drain<core::ops::Range<usize>> (
    self=<optimized out>, range=...) at <core macros>:4
#7  suricata::dns::dns::DNSState::parse_response_tcp (self=<optimized out>, input=...)
    at src/dns/dns.rs:527
#8  0x00000000004b4503 in RustDNSTCPParseResponse (f=0x612000fd5f40, state=0x60b000332c90, 
    pstate=0x604002224110, input=0x61d000129880 "\005\237\302Ѐ\020", input_len=1440, 
    local_data=0x0) at app-layer-dns-tcp-rust.c:49
#9  0x00000000004e4b6c in AppLayerParserParse (tv=0x61200004c3c0, alp_tctx=0x6180000af880, 
    f=0x612000fd5f40, alproto=13, flags=9 '\t', input=0x61d000129880 "\005\237\302Ѐ\020", 
    input_len=1440) at app-layer-parser.c:1052
#10 0x000000000042c76b in TCPProtoDetect (tv=0x61200004c3c0, ra_ctx=0x60300007df80, 
    app_tctx=0x6020000afdb0, p=0x61e0001f0880, f=0x612000fd5f40, ssn=0x6120001bd540, 
    stream=0x6120001bd550, data=0x61d000129880 "\005\237\302Ѐ\020", data_len=1440, 
    flags=9 '\t') at app-layer.c:421

I was not able to capture more info at this time.
Actions

Also available in: Atom PDF