Merge pull request #8748 from ethereum/smt_fix_undefined

[SMTChecker] Fix undefined behavior with nullptr
This commit is contained in:
Alex Beregszaszi
2020-04-22 22:14:05 +01:00
committed by GitHub
+2 -2
View File
@@ -237,8 +237,8 @@ z3::sort Z3Interface::z3Sort(Sort const& _sort)
z3::func_decl tupleConstructor = m_context.tuple_sort(
tupleSort.name.c_str(),
tupleSort.members.size(),
&cMembers[0],
&sorts[0],
cMembers.data(),
sorts.data(),
projs
);
return tupleConstructor.range();