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 swftext.c:225 #139

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

A Segmentation fault in swftext.c:225 #139

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
=================================================================
==75376==ERROR: AddressSanitizer: SEGV on unknown address 0x61900004697c (pc 0x560559a71dfc bp 0x000000008c00 sp 0x7ffde49444e0 T0)
    #0 0x560559a71dfb in swf_FontExtract_DefineFontInfo modules/swftext.c:225
    #1 0x560559a773e6 in swf_FontExtract modules/swftext.c:611
    #2 0x560559a385dc in fontcallback2 /home/seviezhou/swftools/src/swfdump.c:941
    #3 0x560559a70920 in swf_FontEnumerate modules/swftext.c:133
    #4 0x560559a35273 in main /home/seviezhou/swftools/src/swfdump.c:1296
    #5 0x7fcbe4de6b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #6 0x560559a38439 in _start (/home/seviezhou/swftools/src/swfdump+0xd0439)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV modules/swftext.c:225 swf_FontExtract_DefineFontInfo
==75376==ABORTING

POC

SEGV-swf_FontExtract_DefineFontInfo-swftext-225.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