From: dan Date: Wed, 3 Jun 2026 16:46:15 +0000 (+0000) Subject: Fix a faulty assert() in rtree that could fire when processing an unusually large... X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d80528ad4d82b298523cae1ec53dc5aa1dd86e11;p=thirdparty%2Fsqlite.git Fix a faulty assert() in rtree that could fire when processing an unusually large record. Bug [bugs:/info/2026-06-03T14:44:46Z | 2026-06-03T14:44:46Z]. FossilOrigin-Name: e7335dd377a73fc2b913076ee659ed2b0c4a131b16e04b1b55fae677d6b56e8a --- diff --git a/ext/rtree/rtree.c b/ext/rtree/rtree.c index 721acfae12..5041cf3db2 100644 --- a/ext/rtree/rtree.c +++ b/ext/rtree/rtree.c @@ -1402,7 +1402,7 @@ static int nodeRowidIndex( ){ int ii; int nCell = NCELL(pNode); - assert( nCell<200 ); + assert( nCell<65536 && nCell>=0 ); for(ii=0; ii