Blame SOURCES/sqlite-3.26.0-CVE-2020-35525.patch

03a7db
From 5f69512404cd2e5153ddf90ea277fbba6dd58ab7 Mon Sep 17 00:00:00 2001
03a7db
From: drh <drh@noemail.net>
03a7db
Date: Thu, 20 Feb 2020 14:08:51 +0000
03a7db
Subject: [PATCH] Early-out on the INTERSECT query processing following an
03a7db
 error.
03a7db
03a7db
FossilOrigin-Name: a67cf5b7d37d5b1484be32092635faafd8f76e5881898cd9435517c4b287d663
03a7db
---
03a7db
 src/select.c  |  1 +
03a7db
 1 files changed, 1 insertions(+), 0 deletions(-)
03a7db
03a7db
diff --git a/src/select.c b/src/select.c
03a7db
index c60ff2700..b3ae9f415 100644
03a7db
--- a/src/select.c
03a7db
+++ b/src/select.c
03a7db
@@ -2775,6 +2775,7 @@ static int multiSelect(
03a7db
         /* Generate code to take the intersection of the two temporary
03a7db
         ** tables.
03a7db
         */
03a7db
+        if( rc ) break;
03a7db
         assert( p->pEList );
03a7db
         iBreak = sqlite3VdbeMakeLabel(v);
03a7db
         iCont = sqlite3VdbeMakeLabel(v);
03a7db
--
03a7db
2.37.3
03a7db