You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dec265.cc:708 uint8_t* buf = (uint8_t*)malloc(length);
Segmentation fault due to excessive memory allocation,Here length is 0xb7fdf55f
Version
dec265 v1.0.12
git log
a267c847 (HEAD -> master, tag: v1.0.12, origin/master, origin/HEAD) increase version to v1.0.12
Steps to reproduce
git clone https://github.com/strukturag/libde265.git
cd libde265
./autogen.sh
export CFLAGS="-g -O0 -lpthread -fsanitize=address"
export CXXFLAGS="-g -O0 -lpthread -fsanitize=address"
export LDFLAGS="-fsanitize=address"
./configure --disable-shared
make -j
cd dec265
./dec265 -n poc
=================================================================
==703375==ERROR: AddressSanitizer: requested allocation size 0xffffffffb7fdf55f (0xffffffffb7fe0560 after adjustments for alignment, red zones etc.) exceeds maximum supported size of 0x10000000000 (thread T0)
#0 0x7face1531c47 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x555c97c6cc48 in main /home/freec/fuzz_normal/libde265/dec265/dec265.cc:708
#2 0x7face0f15564 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x28564)
==703375==HINT: if you don't care about these errors you may set allocator_may_return_null=1
SUMMARY: AddressSanitizer: allocation-size-too-big ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 in __interceptor_malloc
==703375==ABORTING
Desctiption
dec265.cc:708 uint8_t* buf = (uint8_t*)malloc(length);
Segmentation fault due to excessive memory allocation,Here length is 0xb7fdf55f
Version
Steps to reproduce
POC
poc2.zip
GDB INFO
The text was updated successfully, but these errors were encountered: