diff options
Diffstat (limited to 'meta/recipes-support/sqlite/files/CVE-2020-35525.patch')
-rw-r--r-- | meta/recipes-support/sqlite/files/CVE-2020-35525.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-support/sqlite/files/CVE-2020-35525.patch b/meta/recipes-support/sqlite/files/CVE-2020-35525.patch new file mode 100644 index 0000000000..27d81d42d9 --- /dev/null +++ b/meta/recipes-support/sqlite/files/CVE-2020-35525.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | From: drh <drh@noemail.net> | ||
2 | Date: Thu, 20 Feb 2020 14:08:51 +0000 | ||
3 | Subject: [PATCH] Early-out on the INTERSECT query processing following an | ||
4 | error. | ||
5 | |||
6 | Upstream-Status: Backport [http://security.debian.org/debian-security/pool/updates/main/s/sqlite3/sqlite3_3.27.2-3+deb10u2.debian.tar.xz] | ||
7 | CVE: CVE-2020-35525 | ||
8 | Signed-off-by: Virendra Thakur <virendrak@kpit.com> | ||
9 | --- | ||
10 | Index: sqlite-autoconf-3310100/sqlite3.c | ||
11 | =================================================================== | ||
12 | --- sqlite-autoconf-3310100.orig/sqlite3.c | ||
13 | +++ sqlite-autoconf-3310100/sqlite3.c | ||
14 | @@ -130767,6 +130767,7 @@ static int multiSelect( | ||
15 | /* Generate code to take the intersection of the two temporary | ||
16 | ** tables. | ||
17 | */ | ||
18 | + if( rc ) break; | ||
19 | assert( p->pEList ); | ||
20 | iBreak = sqlite3VdbeMakeLabel(pParse); | ||
21 | iCont = sqlite3VdbeMakeLabel(pParse); | ||