Merge pull request #4250 from GregorR/netplay-load-savestate-null

Fix a possible NULL dereference in load_savestate
This commit is contained in:
Twinaphex 2016-12-16 08:11:56 +01:00 committed by GitHub
commit c50520ccd9

View File

@ -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,