diff options
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog/rsyslog/CVE-2017-12588.patch')
-rw-r--r-- | meta-oe/recipes-extended/rsyslog/rsyslog/CVE-2017-12588.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/CVE-2017-12588.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/CVE-2017-12588.patch deleted file mode 100644 index 73c33109f..000000000 --- a/meta-oe/recipes-extended/rsyslog/rsyslog/CVE-2017-12588.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From 6bc4aa975a83abed43d734299ce76cd9e1a14aec Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Deutschmann <whissi@whissi.de> | ||
3 | Date: Wed, 17 May 2017 23:05:24 +0200 | ||
4 | Subject: [PATCH] imzmq3: Fix building with -Werror=format-security | ||
5 | |||
6 | Reference: https://nvd.nist.gov/vuln/detail/CVE-2017-12588 | ||
7 | |||
8 | CVE: 2017-12588 | ||
9 | |||
10 | Upstream-Status: Backport | ||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | --- | ||
13 | contrib/imzmq3/imzmq3.c | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/contrib/imzmq3/imzmq3.c b/contrib/imzmq3/imzmq3.c | ||
17 | index 9ca17871..d32dcbc2 100644 | ||
18 | --- a/contrib/imzmq3/imzmq3.c | ||
19 | +++ b/contrib/imzmq3/imzmq3.c | ||
20 | @@ -403,7 +403,7 @@ static rsRetVal createSocket(instanceConf_t* info, void** sock) { | ||
21 | |||
22 | /* Do the bind/connect... */ | ||
23 | if (info->action==ACTION_CONNECT) { | ||
24 | - rv = zsocket_connect(*sock, info->description); | ||
25 | + rv = zsocket_connect(*sock, "%s", info->description); | ||
26 | if (rv == -1) { | ||
27 | errmsg.LogError(0, | ||
28 | RS_RET_INVALID_PARAMS, | ||
29 | @@ -413,7 +413,7 @@ static rsRetVal createSocket(instanceConf_t* info, void** sock) { | ||
30 | } | ||
31 | DBGPRINTF("imzmq3: connect for %s successful\n",info->description); | ||
32 | } else { | ||
33 | - rv = zsocket_bind(*sock, info->description); | ||
34 | + rv = zsocket_bind(*sock, "%s", info->description); | ||
35 | if (rv == -1) { | ||
36 | errmsg.LogError(0, | ||
37 | RS_RET_INVALID_PARAMS, | ||
38 | -- | ||
39 | 2.13.0 | ||
40 | |||