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

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