test could access unused memory.

This commit is contained in:
Vítor Santos Costa II 2010-04-09 18:07:45 +01:00
parent b6f704fc7a
commit d524dd542d

View File

@ -2039,7 +2039,7 @@ Yap_absmi(int inp)
goto failloop;
} else
#endif /* FROZEN_STACKS */
if (IsAttVar(pt1))
if (IN_BETWEEN(H0,pt1,H) && IsAttVar(pt1))
goto failloop;
flags = *pt1;
#if defined(YAPOR) || defined(THREADS)