diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2015-08-19 14:46:05 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-31 19:11:12 +0200 |
commit | 4fc4326a0c7510d293b8108696beda4b395e0e2d (patch) | |
tree | 82f737ea424ae8fdafd3a1c156cf52bf7de018cc /meta-oe/recipes-support/mysql/mariadb | |
parent | 3551575f9b69ca3d5f06321e444c9f8105c0a1b2 (diff) | |
download | meta-openembedded-4fc4326a0c7510d293b8108696beda4b395e0e2d.tar.gz |
mariadb: update to 5.5.45
This is the latest release in the 5.5.x stable series. The CVE patch has been applied upstream.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql/mariadb')
-rw-r--r-- | meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch b/meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch deleted file mode 100644 index 2d1b46734..000000000 --- a/meta-oe/recipes-support/mysql/mariadb/fix-CVE-2015-2305.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From f5c1d00a9ceb61acfe038dcf2ec0236c2939328c Mon Sep 17 00:00:00 2001 | ||
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Mon, 1 Jun 2015 15:31:48 +0800 | ||
4 | Subject: [PATCH] From 70bc2965604b6b8aaf260049e64c708dddf85334 Mon Sep 17 | ||
5 | 00:00:00 2001 From: Gary Houston <ghouston@arglist.com> Date: Wed, 25 Feb | ||
6 | 2015 13:29:03 +1100 Subject: [PATCH] Bug fix for integer overflow in regcomp | ||
7 | for excessively long pattern strings. CERT Vulnerability Note VU#695940. | ||
8 | Found by Guido Vranken. | ||
9 | |||
10 | Upsteam-Status: Backport | ||
11 | |||
12 | https://bugzilla.suse.com/attachment.cgi?id=627001 | ||
13 | |||
14 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
15 | --- | ||
16 | regex/regcomp.c | 11 ++++++++++- | ||
17 | 1 file changed, 10 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/regex/regcomp.c b/regex/regcomp.c | ||
20 | index abc1817..31e57c1 100644 | ||
21 | --- a/regex/regcomp.c | ||
22 | +++ b/regex/regcomp.c | ||
23 | @@ -138,7 +138,16 @@ struct cclass cclasses[CCLASS_LAST+1]= { | ||
24 | (NC-1)*sizeof(cat_t)); | ||
25 | if (g == NULL) | ||
26 | return(REG_ESPACE); | ||
27 | - p->ssize = (long) (len/(size_t)2*(size_t)3 + (size_t)1); /* ugh */ | ||
28 | + { | ||
29 | + /* Patched for CERT Vulnerability Note VU#695940, Feb 2015. */ | ||
30 | + size_t new_ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ | ||
31 | + if (new_ssize < len || new_ssize > LONG_MAX / sizeof(sop)) { | ||
32 | + free((char *) g); | ||
33 | + return REG_INVARG; | ||
34 | + } | ||
35 | + p->ssize = new_ssize; | ||
36 | + } | ||
37 | + | ||
38 | p->strip = (sop *)malloc(p->ssize * sizeof(sop)); | ||
39 | p->slen = 0; | ||
40 | if (p->strip == NULL) { | ||
41 | -- | ||
42 | 1.9.1 | ||
43 | |||