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
commit a9ae780fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();