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…
Reference in New Issue