| Summary: | Use after free in SDL_SensorUpdate | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mathieu Eyraud <meyraud705> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sylvain.becker |
| Version: | 2.0.10 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | fix_use_after_free | ||
Thanks this is in! https://hg.libsdl.org/SDL/rev/7c541486c67a |
Created attachment 3991 [details] fix_use_after_free For loop in SDL_SensorUpdate uses 'sensor->next' while 'sensor' was potentially freed by SDL_SensorClose.