On 11/21/19, Warren Young <[email protected]> wrote: > On Nov 21, 2019, at 3:54 AM, Richard Hipp <[email protected]> wrote: >> >> The solution is here: https://www.sqlite.org/src/info/0d1055a5da8274a5 > > memset before free? Why does that help?
The memset() just forces the bug to the surface in builds where the ckmalloc()/ckfree() routines of TCL are using caching that prevents valgrind/ASAN from seeing the use-after-free. The memset() is not part of the bug fixx itself, but is a preventative measure to try to prevent similar bugs in the future. -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

