3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +00:00

fix regression exposed by segfault2.smt2 crash

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-08-21 14:13:43 -07:00
parent e47cd27c8d
commit ebe9db14d5
3 changed files with 8 additions and 8 deletions

View file

@ -10,7 +10,7 @@ Abstract:
<abstract>
Author:
Leonardo de Moura (leonardo) 2007-03-08.
Revision History:
@ -359,8 +359,8 @@ void proto_model::complete_partial_funcs() {
// m_func_decls may be "expanded" when we invoke get_some_value.
// So, we must not use iterators to traverse it.
for (func_decl* f : m_func_decls) {
complete_partial_func(f);
for (unsigned i = 0; i < m_func_decls.size(); i++) {
complete_partial_func(m_func_decls[i]);
}
}