ChangeLog: https://www.sqlite.org/releaselog/3_40_1.html * Fix the --safe command-line option to the CLI such that it correctly disallows the use of SQL functions like writefile() that can cause harmful side-effects. * Fix a potential infinite loop in the memsys5 alternative memory allocator. This bug was introduced by a performance optimization in version 3.39.0. * Various other obscure fixes. PR: 268762 Reported by: pavelivolkov@gmail.com (maintainer) MFH: 2023Q1 (bugfix release)