3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 16:52:15 +00:00

inherit and reset rlimit counter on children limits

addresses rlimit leak reported by @mtzguido
This commit is contained in:
Nikolaj Bjorner 2023-04-05 16:39:10 -07:00
parent f8242c58dd
commit 84b9204616
5 changed files with 20 additions and 2 deletions

View file

@ -190,8 +190,8 @@ namespace seq {
expr_ref digit = m_ax.sk().mk_digit2int(u);
add_consequence(m_ax.mk_ge(digit, 1));
}
expr_ref y(seq.str.mk_concat(es, es[0]->get_sort()), m);
ctx.add_solution(seq.str.mk_itos(n), y);
expr_ref y(seq.str.mk_concat(es, es[0]->get_sort()), m);
ctx.add_solution(seq.str.mk_itos(n), y);
return true;
}