sh: silence sanitizer
Don't add 0 to a null pointer. Reviewed by: jilles
This commit is contained in:
parent
556e66b7b0
commit
5a18515b31
@ -227,7 +227,10 @@ popstackmark(struct stackmark *mark)
|
||||
}
|
||||
stacknxt = mark->stacknxt;
|
||||
stacknleft = mark->stacknleft;
|
||||
if (stacknleft != 0)
|
||||
sstrend = stacknxt + stacknleft;
|
||||
else
|
||||
sstrend = stacknxt;
|
||||
INTON;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user