Null Pointer Dereference (Write) with malformed WPG Image
Use-after-free while feeding malformed aiff file
==32054==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffd89741920 at pc 0x00000051e1f6 bp 0x7ffd8973f030 sp 0x7ffd8973f028 WRITE of size 4 at 0x7ffd89741920 thread T0 #0 0x51e1f5 in unpack_read_samples /tmp/ramdisk/lame-3.99.5/frontend/get_audio.c:1205:20 #1 0x51e1f5 in read_samples_pcm /tmp/ramdisk/lame-3.99.5/frontend/get_audio.c:1289
==32062==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60c000000038 at pc 0x00000067f8b6 bp 0x7ffc4de1efc0 sp 0x7ffc4de1efb8 READ of size 4 at 0x60c000000038 thread T0 #0 0x67f8b5 in fill_buffer /tmp/ramdisk/lame-3.99.5/libmp3lame/util.c:688:15 #1 0x5d0ffa in lame_encode_buffer_sample_t /tmp/ramdisk/lame-3.99.5/libmp3lame/lame.c:1736:9 Symbolized Stack-trace attached.
Henri, I don't have a file which reproduces this Null Pointer Dereference condition. This was found purely by looking at the source.
Memory Allocation error due to malformed image file
NULL Pointer Dereference from Malformed Input File
NULL Pointer Dereference triggered by malformed file