From: drh <> Date: Wed, 3 Jun 2026 16:58:01 +0000 (+0000) Subject: Fix a faulty assert() in rtree that could fire when processing an unusually large... X-Git-Tag: release~2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b9e656f6f7129d7370850376f0129a00fc5e851e;p=thirdparty%2Fsqlite.git Fix a faulty assert() in rtree that could fire when processing an unusually large record. FossilOrigin-Name: 004d85c5f1bf04409ce85d5131f1d9697f25f531046e60160e78b0bae7f55123 --- 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