Blame SOURCES/sqlite-3.26-CVE-2019-13753.patch

032533
From 0b3ba64a9c7f785f6b3f1c1c15c5b0f1e41e0461 Mon Sep 17 00:00:00 2001
032533
From: Ondrej Dubaj <odubaj@redhat.com>
032533
Date: Thu, 2 Jan 2020 10:25:58 +0100
032533
Subject: [PATCH] Remove a reachable NEVER() in FTS3.
032533
032533
---
032533
 ext/fts3/fts3_write.c | 2 +-
032533
 1 file changed, 1 insertion(+), 1 deletion(-)
032533
032533
diff --git a/ext/fts3/fts3_write.c b/ext/fts3/fts3_write.c
032533
index ee668aa..8624329 100644
032533
--- a/ext/fts3/fts3_write.c
032533
+++ b/ext/fts3/fts3_write.c
032533
@@ -3830,7 +3830,7 @@ static int fts3IncrmergePush(
032533
     ** be added to.  */
032533
     nPrefix = fts3PrefixCompress(pNode->key.a, pNode->key.n, zTerm, nTerm);
032533
     nSuffix = nTerm - nPrefix;
032533
-    if( NEVER(nSuffix<=0) ) return FTS_CORRUPT_VTAB;
032533
+    if(nSuffix<=0 ) return FTS_CORRUPT_VTAB;
032533
     nSpace  = sqlite3Fts3VarintLen(nPrefix);
032533
     nSpace += sqlite3Fts3VarintLen(nSuffix) + nSuffix;
032533
 
032533
-- 
032533
2.19.1
032533