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

Use after free in SDL_JoystickUpdate #3432

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Use after free in SDL_JoystickUpdate #3432

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.10
Reported for operating system, platform: All, All

Comments on the original bug report:

On 2019-10-21 11:11:52 +0000, Mathieu Eyraud wrote:

Created attachment 3992
Fix use after free

For loop in SDL_JoystickUpdate uses 'joystick->next' while 'joystick' was potentially freed by SDL_JoystickClose.

On 2019-10-23 06:51:32 +0000, Sylvain wrote:

Thanks ! also in : https://hg.libsdl.org/SDL/rev/78b50cbc7a3b

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