mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1176099 - Fix missing NULL check r=luke
MozReview-Commit-ID: ICNQNqJZzA8
This commit is contained in:
parent
c96fa5c0c8
commit
4c291ae709
@ -31,7 +31,7 @@ static int HandleSigset(int (*aRealFunc)(int, const sigset_t*, sigset_t*),
|
||||
}
|
||||
|
||||
// Avoid unnecessary work
|
||||
if (aHow == SIG_UNBLOCK || !sigismember(aSet, SIGSYS))
|
||||
if (aSet == NULL || aHow == SIG_UNBLOCK || !sigismember(aSet, SIGSYS))
|
||||
return aRealFunc(aHow, aSet, aOldSet);
|
||||
|
||||
sigset_t newSet = *aSet;
|
||||
|
Loading…
Reference in New Issue
Block a user