mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 01:11:55 +00:00
fix a couple hundred deref-after-free bugs due to .c_str() on a temporary string
This commit is contained in:
parent
48a9defb0d
commit
23e6adcad3
64 changed files with 248 additions and 229 deletions
|
@ -1949,7 +1949,7 @@ public:
|
|||
else {
|
||||
strm << val;
|
||||
}
|
||||
zstring zs(strm.str().c_str());
|
||||
zstring zs(strm.str());
|
||||
add_buffer(sbuffer, zs);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue