On libming latest version, a memory leak was found in function parseSWF_DOACTION .
#listswf $FILE
=================================================================
Direct leak of 160 byte(s) in 1 object(s) allocated from:
#0 0x4e004d in realloc /home/haojun/Downloads/llvm-clang/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:79
#1 0x5da8b1 in parseSWF_DOACTION /home/haojun/Downloads/libming-master/util/parser.c:2435:43
Direct leak of 28 byte(s) in 1 object(s) allocated from:
#0 0x4e004d in realloc /home/haojun/Downloads/llvm-clang/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:79
#1 0x543350 in cws2fws /home/haojun/Downloads/libming-master/util/main.c:111:15
#2 0x5444c6 in readMovieHeader /home/haojun/Downloads/libming-master/util/main.c:198:18
#3 0x5444c6 in main /home/haojun/Downloads/libming-master/util/main.c:346
#4 0x7f85ef782b34 in __libc_start_main /usr/src/debug/glibc-2.17-c758a686/csu/../csu/libc-start.c:274
Direct leak of 27 byte(s) in 1 object(s) allocated from:
#0 0x4dfc96 in malloc /home/haojun/Downloads/llvm-clang/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:66
#1 0x5431b3 in cws2fws /home/haojun/Downloads/libming-master/util/main.c:101:13
#2 0x5444c6 in readMovieHeader /home/haojun/Downloads/libming-master/util/main.c:198:18
#3 0x5444c6 in main /home/haojun/Downloads/libming-master/util/main.c:346
#4 0x7f85ef782b34 in __libc_start_main /usr/src/debug/glibc-2.17-c758a686/csu/../csu/libc-start.c:274
215 byte(s) leaked in 3 allocation(s).
On libming latest version, a memory leak was found in function parseSWF_DOACTION .
testcase : https://github.com/bestshow/p0cs/blob/master/memory-leak-in_parseSWF_DOACTION
Credit : ADLab of Venustech
The text was updated successfully, but these errors were encountered: