SQLite Forum

Odd buffer overflow
Login
For the MSCRT, [\_msize() is documented](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/msize?view=vs-2017) to act as the OP has reported. See the 2nd paragraph under "Remarks" where how it resolves to \_msize_dbg() is stated.  (Sorry for not detailing this earlier.)