]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Ensure that UTF16 strings are properly zero-terminated before returning them
authordrh <drh@noemail.net>
Fri, 3 May 2019 19:34:41 +0000 (19:34 +0000)
committerdrh <drh@noemail.net>
Fri, 3 May 2019 19:34:41 +0000 (19:34 +0000)
commit30d3b0ceb55f4a1fcf661236dee0cd0437f35fcb
tree0297d9681e5307b0a5ab8e2a5aa0f227d87407b4
parenta51297200ff4c6825e299fab8f9debf25c3e6207
Ensure that UTF16 strings are properly zero-terminated before returning them
in an sqlite3_value_text16() request, even if the string is invalid UTF16
because it was formed from an arbitrary and/or odd-length BLOB.

FossilOrigin-Name: 3a16ddf91f0c9c516a7fc2a9d4a4f69a8326f9b8ea66421e9ef1a2d663687b70
manifest
manifest.uuid
src/vdbemem.c