mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
ash: popstackmark is reported trying to pop until NULL
is seen (which isn't possible), prevent this.
This commit is contained in:
parent
5df955fce2
commit
93ebd4f58d
@ -1216,6 +1216,9 @@ popstackmark(struct stackmark *mark)
|
|||||||
{
|
{
|
||||||
struct stack_block *sp;
|
struct stack_block *sp;
|
||||||
|
|
||||||
|
if (!mark->stackp)
|
||||||
|
return;
|
||||||
|
|
||||||
INT_OFF;
|
INT_OFF;
|
||||||
markp = mark->marknext;
|
markp = mark->marknext;
|
||||||
while (stackp != mark->stackp) {
|
while (stackp != mark->stackp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user