Skip to content

SEGV at manage_event in SDLLaffgif.c:15 #43

@ambrosecm

Description

@ambrosecm

Desctiption

When I run the main function of SDLLaffgif.c, a segmentation fault (SEGV) was triggered at manage_event in SDLLaffgif.c:15
potentially resulting in display abnormalities or crash across the entire Linux system.

ngiflib/SDLaffgif.c

Lines 188 to 190 in fbf2d0c

for(;;) {
manage_event();
}

ngiflib/SDLaffgif.c

Lines 13 to 15 in fbf2d0c

void manage_event() {
SDL_Event event;
SDL_WaitEvent(&event);

Test Environment

Ubuntu 22.04.1, 64bit
ngiflib(master fbf2d0c)
program source file

How to trigger

Download the poc file , program and run the following cmd:

 $ ./main_ ./poc

Detail

GDB report

Image

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions