]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Limit the size of SrcList objects to 200 entries (compile-time configurable
authordrh <drh@noemail.net>
Thu, 17 Jan 2019 14:34:46 +0000 (14:34 +0000)
committerdrh <drh@noemail.net>
Thu, 17 Jan 2019 14:34:46 +0000 (14:34 +0000)
commit0ad7aa818283c82c550cdf18c7f897341b66f39f
treef73111509be9762edc7a355e4fcb0d0df707634e
parent04fcef00eed718bcaea0ef6c9172500a27a1052e
Limit the size of SrcList objects to 200 entries (compile-time configurable
using -DSQLITE_MAX_SRCLIST=n).  The maximum number of tables in a join has
always been 64, so this is not a real constraint on capability.  Limiting the
size of a SrcList prevents DOS attacks (discovered by OSSFuzz) using crazy
nexted CTE joins.

FossilOrigin-Name: 7cac614d5df55eb092b863163483b6782b942b21bd15fd787576fef5619fa849
manifest
manifest.uuid
src/build.c
test/join.test
test/with1.test