Floating point exception in input/decoder.c:664
When calling vlc as "vlc ", where is the attached file, a floating point exception is caused in input/decoder.c on line 664. Following is a detailed backtrace:
==32793==ERROR: AddressSanitizer: FPE on unknown address 0x7fe0b3d3f1a2 (pc 0x7fe0b3d3f1a2 bp 0x000000000001 sp 0x7fe086786850 T15)
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x7fe0b3d3f1a1 in decoder_NewAudioBuffer input/decoder.c:664
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x7fe085c43455 in Packetize codec/lpcm.c:461
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x7fe085c46bfe in DecodeFrame codec/lpcm.c:506
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x7fe0b3d3c90a in DecoderDecode input/decoder.c:1298
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x7fe0b3d3aec9 in DecoderProcess input/decoder.c:1406
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x7fe0b3d3d57f in DecoderThread input/decoder.c:1628
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x7fe0b2f8c5a9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x75a9)
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x7fe0b2cc1cbe in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xf6cbe)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: FPE input/decoder.c:664 in decoder_NewAudioBuffer
Thread T15 created by T12 here:
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x7fe0b4548390 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x37390)
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x7fe0b3f6a15f in vlc_clone_attr posix/thread.c:439
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x7fe0b3f6a15f in vlc_clone posix/thread.c:451
Thread T12 created by T2 here:
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x7fe0b4548390 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x37390)
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x7fe0b3f6a15f in vlc_clone_attr posix/thread.c:439
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x7fe0b3f6a15f in vlc_clone posix/thread.c:451
Thread T2 created by T0 here:
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x7fe0b4548390 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x37390)
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x7fe0b3f6a15f in vlc_clone_attr posix/thread.c:439
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x7fe0b3f6a15f in vlc_clone posix/thread.c:451
==32793==ABORTING
This bug was found using the afl fuzzer on a debian x86_64 machine.