Blame SOURCES/sqlite-3.26.0-CVE-2019-20218.patch

ec7966
From 8fd3688e01f5839120d7477ca94e013f5809edcf Mon Sep 17 00:00:00 2001
ec7966
From: Ondrej Dubaj <odubaj@redhat.com>
ec7966
Date: Tue, 24 Mar 2020 11:33:04 +0100
ec7966
Subject: [PATCH] Do not attempt to unwind the WITH stack in the Parse object
ec7966
 following an error.
ec7966
ec7966
---
ec7966
 src/select.c | 2 +-
ec7966
 1 file changed, 1 insertion(+), 1 deletion(-)
ec7966
ec7966
diff --git a/src/select.c b/src/select.c
ec7966
index 0205a08..bbd13a4 100644
ec7966
--- a/src/select.c
ec7966
+++ b/src/select.c
ec7966
@@ -4910,7 +4910,7 @@ static int selectExpander(Walker *pWalker, Select *p){
ec7966
 
ec7966
   /* Process NATURAL keywords, and ON and USING clauses of joins.
ec7966
   */
ec7966
-  if( db->mallocFailed || sqliteProcessJoin(pParse, p) ){
ec7966
+  if( pParse->nErr || db->mallocFailed || sqliteProcessJoin(pParse, p) ){
ec7966
     return WRC_Abort;
ec7966
   }
ec7966
 
ec7966
-- 
ec7966
2.24.1
ec7966