]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Detect oversized strings in the OP_String opcode even if the P4 argument
authordrh <drh@noemail.net>
Thu, 21 Feb 2019 16:41:34 +0000 (16:41 +0000)
committerdrh <drh@noemail.net>
Thu, 21 Feb 2019 16:41:34 +0000 (16:41 +0000)
commitdbdddc99d83130fe22ed63a4bfc19a53a408c51b
treedf656e6ff87a75c7af2e4c3d18ee38a1dd0a1232
parent6a1bfc9a6d5b2367a84d367290d3bf5dba708a16
Detect oversized strings in the OP_String opcode even if the P4 argument
is originally UTF8 and has to be converted to UTF16 to match the database
file and that conversion causes the string to become shorter and cross
below SQLITE_LIMIT_LENGTH threshold.  This might fix an OSSFuzz problem
that we have been so far unable to reproduce.

FossilOrigin-Name: c13d563925db12bc2c91ff9432050261e5bd39d960e2739777a66bf804df2e31
manifest
manifest.uuid
src/vdbe.c