mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +00:00
Merge pull request #4250 from GregorR/netplay-load-savestate-null
Fix a possible NULL dereference in load_savestate
This commit is contained in:
commit
c50520ccd9
@ -1575,6 +1575,11 @@ void netplay_load_savestate(netplay_t *netplay,
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* FIXME: This is a critical failure! */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* We need to ignore any intervening data from the other side,
|
||||
|
Loading…
x
Reference in New Issue
Block a user