Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Segmentation fault in pool.c:1043 #136

Open
seviezhou opened this issue Aug 6, 2020 · 0 comments
Open

A Segmentation fault in pool.c:1043 #136

seviezhou opened this issue Aug 6, 2020 · 0 comments

Comments

@seviezhou
Copy link

System info

Ubuntu x86_64, clang 6.0, swfdump (latest master fad6c2)

Command line

./src/swfdump -D @@

Output

Segmentation fault (core dumped)

AddressSanitizer output

ASAN:SIGSEGV
=================================================================
==70016==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x55a36a93679a bp 0x60200000ec10 sp 0x7ffdfdb62ca0 T0)
    #0 0x55a36a936799 in pool_lookup_string2 as3/pool.c:1043
    #1 0x55a36a936d4a in constant_fromindex as3/pool.c:740
    #2 0x55a36a9299ad in swf_ReadABC as3/abc.c:789
    #3 0x55a36a89c003 in main /home/seviezhou/swftools/src/swfdump.c:1577
    #4 0x7fbc41038b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #5 0x55a36a89f439 in _start (/home/seviezhou/swftools/src/swfdump+0xd0439)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV as3/pool.c:1043 pool_lookup_string2
==70016==ABORTING

POC

SEGV-pool_lookup_string2-pool-1043.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant