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

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