swftools
swftools copied to clipboard
A NULL pointer dereference exists in the function swf_GetBits in rfxswf.c
system info
Ubuntu x86_64, clang 6.0, swfdump (latest master a9d5082)
Command line
./src/swfdump -D @@
AddressSanitizer output
==41593==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000471fac bp 0x0ffffed896e0 sp 0x7fffffffdd30 T0) #0 0x471fab in swf_GetBits /test/swftools-asan/lib/rfxswf.c:213 #1 0x478bf8 in swf_GetMatrix /test/swftools-asan/lib/rfxswf.c:867 #2 0x414975 in handlePlaceObject /test/swftools-asan/src/swfdump.c:831 #3 0x409acd in main /test/swftools-asan/src/swfdump.c:1604 #4 0x7ffff68a683f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2083f) #5 0x40c168 in _start (/test/swftools-asan/src/swfdump+0x40c168)
AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /test/swftools-asan/lib/rfxswf.c:213 swf_GetBits ==41593==ABORTING