lewton icon indicating copy to clipboard operation
lewton copied to clipboard

Allocator error in bug-42-sample015.ogg

Open est31 opened this issue 7 years ago • 3 comments

Issue #42 was about a panic in residue_packet_read_partition but after fixing it, one of the samples now triggers a second allocator based error.

You'd get an error like:

fatal runtime error: allocator memory exhausted

And then a segfault.

est31 avatar Feb 26 '19 10:02 est31

Nice, even gdb segfaults when I'm trying to study the error.

est31 avatar Feb 26 '19 11:02 est31

Hmm, with Rust stable there is no gdb segfault.

Backtrace points to the error originating in lewton::header::read_header_comment (packet=...) at src/header.rs:329.

Yeah it seems it wants 1979711488 many comments. Quite a number!

est31 avatar Feb 26 '19 11:02 est31

Oh, I have a whole bunch of OOM-crashing samples from fuzzer. Here you go: oom-samples.zip

Shnatsel avatar Feb 26 '19 20:02 Shnatsel