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

An integer overflow #149

Open
legend-issue opened this issue Jul 4, 2018 · 0 comments
Open

An integer overflow #149

legend-issue opened this issue Jul 4, 2018 · 0 comments

Comments

@legend-issue
Copy link

==76614==WARNING: AddressSanitizer failed to allocate 0xfffffffffffffffe bytes
==76614==AddressSanitizer's allocator is terminating the process instead of returning 0
==76614==If you don't like this behavior set allocator_may_return_null=1
==76614==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
    #0 0x7f365094c631  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
    #1 0x7f36509515e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
    #2 0x7f36508c9425  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x1d425)
    #3 0x7f365094f865  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa3865)
    #4 0x7f36508ceb4d  (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22b4d)
    #5 0x7f36509445d2 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x985d2)
    #6 0x442e98 in readBytes /home/aflgo/libming-ming-0_4_8/util/read.c:227
    #7 0x42c41b in parseSWF_DEFINEBITSJPEG2 /home/aflgo/libming-ming-0_4_8/util/parser.c:1493
    #8 0x40f637 in blockParse /home/aflgo/libming-ming-0_4_8/util/blocktypes.c:145
    #9 0x435980 in parseSWF_DEFINESPRITE /home/aflgo/libming-ming-0_4_8/util/parser.c:2316
    #10 0x40f637 in blockParse /home/aflgo/libming-ming-0_4_8/util/blocktypes.c:145
    #11 0x40ebfa in readMovie /home/aflgo/libming-ming-0_4_8/util/main.c:265
    #12 0x40f3da in main /home/aflgo/libming-ming-0_4_8/util/main.c:350
    #13 0x7f364fcd982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #14 0x401b18 in _start (/home/aflgo/libming-ming-0_4_8/util/.libs/lt-swftotcl+0x401b18)

swftotcl $poc
https://github.com/legend-issue/pocs/blob/master/libming/id:000226%2Csig:11%2Csrc:000000%2Cop:int32%2Cpos:8105%2Cval:%2B100663045

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