mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
Merge pull request #9754 from realnc/fix-null-deref
Fix null pointer deref
This commit is contained in:
commit
b241b5769b
@ -9588,7 +9588,7 @@ static bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
{
|
||||
const struct retro_system_av_info **info = (const struct retro_system_av_info**)&data;
|
||||
struct retro_system_av_info *av_info = &video_driver_av_info;
|
||||
if (info && av_info)
|
||||
if (data)
|
||||
{
|
||||
settings_t *settings = configuration_settings;
|
||||
const bool no_video_reinit =
|
||||
|
Loading…
x
Reference in New Issue
Block a user