From 660733d19a17c9927275dbcde537d12531a8d121 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 7 May 2020 12:37:05 +0000 Subject: [PATCH] CVE-2020-11655 --- sqlite3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlite3.c b/sqlite3.c index 55dc686..f0ccb2d 100644 --- a/sqlite3.c +++ b/sqlite3.c @@ -133217,6 +133217,7 @@ static void resetAccumulator(Parse *pParse, AggInfo *pAggInfo){ struct AggInfo_func *pFunc; int nReg = pAggInfo->nFunc + pAggInfo->nColumn; if( nReg==0 ) return; + if( pParse->nErr ) return; #ifdef SQLITE_DEBUG /* Verify that all AggInfo registers are within the range specified by ** AggInfo.mnReg..AggInfo.mxReg */ -- 2.26.0