]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the isLikeOrGlob() routine in the WHERE clause processing logic so that
authordrh <drh@noemail.net>
Thu, 9 Aug 2018 21:45:45 +0000 (21:45 +0000)
committerdrh <drh@noemail.net>
Thu, 9 Aug 2018 21:45:45 +0000 (21:45 +0000)
commitad9f515f52f5a73130fefd056fe2a43daa42ef4b
treedfcbd6656cc29bf1581c2d61535c1f6c6b2043ef
parentd98f53249c363a48757500cf8918e160bc0ec8c1
Fix the isLikeOrGlob() routine in the WHERE clause processing logic so that
it avoids signed/unsigned character comparisons, as that can lead to an
incorrect answer if the ESCAPE clause is an invalid UTF8 string.  Problem
found by OSSFuzz.

FossilOrigin-Name: 4195a3f8b5d2c2ec63771890c5aa7b5e2de60b9fa2273652730239b8577ae418
manifest
manifest.uuid
src/whereexpr.c
test/fuzzdata5.db