Drop cached expr MBounds when re-checking asserts

Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21371
This commit is contained in:
Nigel Tao committed 2020-03-26 08:14:43 +11:00
1 parent 58351d44da
commit 40d200cdab
4 files changed
+21 -8

No files matched your search

+4
View File
@@ -357,6 +357,10 @@ func (q *checker) hasIsErrorFact(id t.ID) bool {
}
func (q *checker) bcheckAssert(n *a.Assert) error {
if err := n.DropExprCachedMBounds(); err != nil {
return err
}
condition := n.Condition()
if _, err := q.bcheckExpr(condition, 0); err != nil {
return err