| Summary: | [PATCH] Segfault CreateMIDIEventList | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Jean-Baptiste Noblot <jb.noblot> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | All | ||
| Attachments: | A Patch to solve Segfault | ||
Fixed, thanks! https://hg.libsdl.org/SDL_mixer/rev/4bb26a86096e |
Created attachment 2003 [details] A Patch to solve Segfault A Segfault is possible because eventList line 383 (native_midi_common.c) is affected with MIDItoStream and is possible to return NULL without set mididata->tracks. But 2 lines later we use mididata->tracks[trackID](SEGFAULT)