]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Make sure that UTF16 to UTF8 conversions to not read past the end of the
authordrh <drh@noemail.net>
Fri, 23 Oct 2009 18:15:46 +0000 (18:15 +0000)
committerdrh <drh@noemail.net>
Fri, 23 Oct 2009 18:15:46 +0000 (18:15 +0000)
commit7c95b0f3dab6f6924826f32ee570e852dc4fc946
tree2802c661095c1457df412dcd70b2e6062e534d00
parent9bd1b449442b3e8faeb2da6607cf5a52edc5e96c
Make sure that UTF16 to UTF8 conversions to not read past the end of the
UTF16 input buffer if the last two bytes of the UTF16 happen to be the
first half of a surrogate pair.  Ticket [3fe897352e]

FossilOrigin-Name: 19064d7cea838e1a93fe63743ed247f440679e97
manifest
manifest.uuid
src/test_func.c
src/utf.c
test/tkt-3fe897352e.test [new file with mode: 0644]