whisper.cpp Stack Buffer Overflow โ ASan CONFIRMED
ASan Crash Output
ERROR: AddressSanitizer: stack-buffer-overflow on address 0x00016d3e47d0
WRITE of size 4 at 0x00016d3e47d0 thread T0
#5 in read_safe<int> whisper.cpp:964
#6 in whisper_model_load whisper.cpp:1885
Address is located in stack of thread T0 at offset 1456
in frame whisper_model_load (whisper.cpp:1485)
Files
whisper_ndims_overflow.binโ GGML .bin with n_dims=16 (should be โค4)
Reproduce
git clone https://github.com/ggerganov/whisper.cpp && cd whisper.cpp
cmake -B build -DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -g"
cmake --build build
./build/bin/whisper-cli -m whisper_ndims_overflow.bin -f /dev/null
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support