]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Do not read past the end of a text buffer looking for a zero terminator, as
authordrh <>
Sat, 22 Jul 2023 16:37:28 +0000 (16:37 +0000)
committerdrh <>
Sat, 22 Jul 2023 16:37:28 +0000 (16:37 +0000)
commit5d03b1610f268916a7609d5fb290441a07787357
tree44b3b8dc59c60436c5b1a9eca628ffae0eaf989b
parent61a5b6e3bc0482ed169c86760e83c6d95a5b94c7
Do not read past the end of a text buffer looking for a zero terminator, as
that space might not be initialized.  If the buffer is owned, just set the
null terminator.  This is a better fix for the OSSFuzz-detected
use-of-initialized-value problem.

FossilOrigin-Name: 931bccb0cc290b8bf3027641e7a7fac30e3244d7dc84aa9e38b24b7e9544ca06
manifest
manifest.uuid
src/vdbemem.c