Skip to content

A Segmentation fault in abc.c:91 #132

Open
@seviezhou

Description

@seviezhou

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
=================================================================
==8690==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f313ccbe5a1 bp 0x7ffc2709bf80 sp 0x7ffc2709b708 T0)
    #0 0x7f313ccbe5a0  (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
    #1 0x7f313d1a01a8 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x621a8)
    #2 0x5620848cb8e0 in parse_metadata as3/abc.c:91
    #3 0x5620848cb8e0 in swf_ReadABC as3/abc.c:806
    #4 0x562084840003 in main /home/seviezhou/swftools/src/swfdump.c:1577
    #5 0x7f313cb51b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #6 0x562084843439 in _start (/home/seviezhou/swftools/src/swfdump+0xd0439)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==8690==ABORTING

POC

SEGV-parse_metadata-abc-91.zip

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