mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
fixed memory smash
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
294d40889f
commit
75739fdf7b
1 changed files with 4 additions and 1 deletions
|
@ -483,10 +483,13 @@ struct th_rewriter_cfg : public default_rewriter_cfg {
|
||||||
f = to_app(t1)->get_decl();
|
f = to_app(t1)->get_decl();
|
||||||
return unify_core(to_app(t1), t2, new_t1, new_t2, c, first);
|
return unify_core(to_app(t1), t2, new_t1, new_t2, c, first);
|
||||||
}
|
}
|
||||||
else {
|
else if (is_arith_bv_app(t2)) {
|
||||||
f = to_app(t2)->get_decl();
|
f = to_app(t2)->get_decl();
|
||||||
return unify_core(to_app(t2), t1, new_t2, new_t1, c, first);
|
return unify_core(to_app(t2), t1, new_t2, new_t1, c, first);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply transformations of the form
|
// Apply transformations of the form
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue