Skip to content

SEGV exits in the function s_font in swftools/src/swfc.c:1630:14 #223

Open
@guangbuming

Description

@guangbuming

project

https://github.com/matthiaskramm/swftools
version:0.9.2

os info

Ubuntu20.04 TLS

poc

6_poc.zip

build

git clone https://github.com/matthiaskramm/swftools.git
cd swftools
./configure --disable-shared && make
./src/swfc 6_poc

ASAN Info

AddressSanitizer:DEADLYSIGNAL
=================================================================
==2665671==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004de77a bp 0x7fffffffe300 sp 0x7fffffffe170 T0)
==2665671==The signal is caused by a WRITE memory access.
==2665671==Hint: address points to the zero page.
    #0 0x4de77a in s_font /home/swftools/src/swfc.c:1630:14
    #1 0x4f35c0 in c_font /home/swftools/src/swfc.c:3887:5
    #2 0x4ee709 in parseArgumentsForCommand /home/swftools/src/swfc.c:4475:5
    #3 0x4ee709 in main /home/swftools/src/swfc.c:4598:2
    #4 0x7ffff7c29082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16
    #5 0x41d63d in _start (/home/swftools/src/swfc+0x41d63d)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/swftools/src/swfc.c:1630:14 in s_font
==2665671==ABORTING

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions