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

SDL_LoadAnimatedGif SEGV #22

Closed
GHTHYS opened this issue May 11, 2022 · 0 comments
Closed

SDL_LoadAnimatedGif SEGV #22

GHTHYS opened this issue May 11, 2022 · 0 comments
Assignees

Comments

@GHTHYS
Copy link

GHTHYS commented May 11, 2022

I use llvm-10 and AddressSanitizer to build SDLaffgif. The poc file is :

./SDLaffgif CA_file2_0

The ASAN information :

==15828==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004c6166 bp 0x7ffff2a64c70 sp 0x7ffff2a64bb0 T0)
==15828==The signal is caused by a READ memory access.
==15828==Hint: address points to the zero page.
    #0 0x4c6166 in SDL_LoadAnimatedGif /home/zhangzheng/Desktop/cve-libf/cve-libf/ngiflib/ngiflibSDL.c:177:63
    #1 0x4c4bdc in main /home/zhangzheng/Desktop/cve-libf/cve-libf/ngiflib/SDLaffgif.c:107:14
    #2 0x7f9bc569d0b2 in __libc_start_main /build/glibc-sMfBJT/glibc-2.31/csu/../csu/libc-start.c:308:16
    #3 0x41c46d in _start (/home/zhangzheng/Desktop/cve-libf/cve-libf/ngiflib/SDLaffgif+0x41c46d)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/zhangzheng/Desktop/cve-libf/cve-libf/ngiflib/ngiflibSDL.c:177:63 in SDL_LoadAnimatedGif
==15828==ABORTING
@GHTHYS GHTHYS closed this as completed Aug 18, 2022
@GHTHYS GHTHYS reopened this Mar 3, 2023
@miniupnp miniupnp self-assigned this Mar 4, 2023
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

2 participants