mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Prevent 'explicit NULL dereferenced'
This commit is contained in:
parent
8b4893965f
commit
7c83071b01
@ -379,6 +379,7 @@ static bool load_content_from_compressed_archive(
|
||||
RARCH_LOG("Compressed file in case of need_fullpath."
|
||||
" Now extracting to temporary directory.\n");
|
||||
|
||||
if (!string_is_empty(content_ctx->directory_cache))
|
||||
strlcpy(new_basedir, content_ctx->directory_cache,
|
||||
sizeof(new_basedir));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user