ash: popstackmark is reported trying to pop until NULL

is seen (which isn't possible), prevent this.
This commit is contained in:
Denis Vlasenko 2007-03-13 20:55:36 +00:00
parent 5df955fce2
commit 93ebd4f58d

View File

@ -1216,6 +1216,9 @@ popstackmark(struct stackmark *mark)
{
struct stack_block *sp;
if (!mark->stackp)
return;
INT_OFF;
markp = mark->marknext;
while (stackp != mark->stackp) {