diff options
Diffstat (limited to 'meta/recipes-support/sqlite/sqlite3/CVE-2019-19244.patch')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3/CVE-2019-19244.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2019-19244.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2019-19244.patch deleted file mode 100644 index 3f70979acc..0000000000 --- a/meta/recipes-support/sqlite/sqlite3/CVE-2019-19244.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | CVE: CVE-2019-19244 | ||
2 | Upstream-Status: Backport | ||
3 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
4 | |||
5 | From 0f690d4ae5ffe656762fdbb7f36cc4c2dcbb2d9d Mon Sep 17 00:00:00 2001 | ||
6 | From: dan <dan@noemail.net> | ||
7 | Date: Fri, 22 Nov 2019 10:14:01 +0000 | ||
8 | Subject: [PATCH] Fix a crash that could occur if a sub-select that uses both | ||
9 | DISTINCT and window functions also used an ORDER BY that is the same as its | ||
10 | select list. | ||
11 | |||
12 | Amalgamation version of the patch: | ||
13 | FossilOrigin-Name: bcdd66c1691955c697f3d756c2b035acfe98f6aad72e90b0021bab6e9023b3ba | ||
14 | --- | ||
15 | sqlite3.c | 5 +++-- | ||
16 | sqlite3.h | 2 +- | ||
17 | 2 files changed, 4 insertions(+), 3 deletions(-) | ||
18 | |||
19 | diff --git a/sqlite3.c b/sqlite3.c | ||
20 | index 8fd740b..db1c649 100644 | ||
21 | --- a/sqlite3.c | ||
22 | +++ b/sqlite3.c | ||
23 | @@ -131679,6 +131679,7 @@ SQLITE_PRIVATE int sqlite3Select( | ||
24 | */ | ||
25 | if( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct | ||
26 | && sqlite3ExprListCompare(sSort.pOrderBy, pEList, -1)==0 | ||
27 | + && p->pWin==0 | ||
28 | ){ | ||
29 | p->selFlags &= ~SF_Distinct; | ||
30 | pGroupBy = p->pGroupBy = sqlite3ExprListDup(db, pEList, 0); | ||
31 | -- | ||
32 | 2.24.1 | ||
33 | |||