mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-27 14:20:24 +00:00
Fix a crash affecting clang
This commit is contained in:
parent
1515283c7f
commit
1bbb5e40c0
@ -148,7 +148,7 @@ no_fork:
|
||||
}
|
||||
|
||||
char binprefs[64];
|
||||
if (desc->attrp->psa_binprefs[0])
|
||||
if (desc && desc->attrp && desc->attrp->psa_binprefs[0])
|
||||
{
|
||||
char** new_envp;
|
||||
int i, env_len = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user