I use Clang 6.0 and AddressSanitizer to build libwav, this file can cause SEGV signal in function apply_gain when running the wav_gain in folder tools/wav_gain with the following command:
./wav_gain wav_gain__crash__SEGV_apply_gain 1.wav
This is the ASAN information:
LibWAV v. 0.0.1 A (c) 2016 - 2017 Marc Volker Dickmann
AddressSanitizer:DEADLYSIGNAL
=================================================================
==22143==ERROR: AddressSanitizer: SEGV on unknown address 0x00005d5dd1d4 (pc 0x000000518934 bp 0x7ffd5b957f40 sp 0x7ffd5b957e40 T0)
==22143==The signal is caused by a WRITE memory access.
#0 0x518933 in apply_gain /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:11:20#1 0x518933 in gain_file /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:26#2 0x518933 in main /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:43#3 0x7f3b4c60582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)#4 0x419f08 in _start (/home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain+0x419f08)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:11:20 in apply_gain
==22143==ABORTING
The text was updated successfully, but these errors were encountered:
I use Clang 6.0 and AddressSanitizer to build libwav, this file can cause SEGV signal in function
apply_gainwhen running thewav_gainin foldertools/wav_gainwith the following command:This is the ASAN information:
LibWAV v. 0.0.1 A (c) 2016 - 2017 Marc Volker Dickmann AddressSanitizer:DEADLYSIGNAL ================================================================= ==22143==ERROR: AddressSanitizer: SEGV on unknown address 0x00005d5dd1d4 (pc 0x000000518934 bp 0x7ffd5b957f40 sp 0x7ffd5b957e40 T0) ==22143==The signal is caused by a WRITE memory access. #0 0x518933 in apply_gain /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:11:20 #1 0x518933 in gain_file /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:26 #2 0x518933 in main /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:43 #3 0x7f3b4c60582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #4 0x419f08 in _start (/home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain+0x419f08) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/fouzhe/my_fuzz/libwav/tools/wav_gain/wav_gain.c:11:20 in apply_gain ==22143==ABORTINGThe text was updated successfully, but these errors were encountered: