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

Fix a possible NULL dereference in load_savestate #4250

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

GregorR
Copy link
Contributor

@GregorR GregorR commented Dec 15, 2016

In the unlikely situation that serial_info wasn't provided and the delta frame wasn't ready (possibly an impossible situation) it previously would have segfaulted. This fixes that.

Fixes Coverity report 158303.

In the unlikely situation that serial_info wasn't provided and the delta
frame wasn't ready (possibly an impossible situation) it previously
would have segfaulted. This fixes that.
@GregorR
Copy link
Contributor Author

GregorR commented Dec 16, 2016

(That Travis CI failure is a false negative, the initial package selection failed)

@inactive123 inactive123 merged commit c50520c into libretro:master Dec 16, 2016
@GregorR GregorR deleted the netplay-load-savestate-null branch December 21, 2016 01:34
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

Successfully merging this pull request may close these issues.

2 participants