Prevent crash
This commit is contained in:
parent
7e2a077bd5
commit
7ea0a19a4f
|
@ -1346,7 +1346,7 @@ static bool init_content_file_set_attribs(
|
||||||
|
|
||||||
attr.i = 0;
|
attr.i = 0;
|
||||||
|
|
||||||
if (*global->subsystem)
|
if (*global->subsystem && special)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
|
@ -1422,7 +1422,7 @@ static bool content_file_init(struct string_list *temporary_content)
|
||||||
if (!content)
|
if (!content)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
if (special && !init_content_file_set_attribs(temporary_content,
|
if (!init_content_file_set_attribs(temporary_content,
|
||||||
content, system, special))
|
content, system, special))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue