aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2017-09-05 10:25:21 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-05 14:35:56 +0200
commit41c19629f1a6a19a592de39aecf4dddf05e98f41 (patch)
tree51f2606a2019d0fc2c3b603fe63f9bc51847eea2 /meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb
parent1cb2de1b08b0487f06d8bcb2233e49f23904d389 (diff)
downloadmeta-openembedded-contrib-41c19629f1a6a19a592de39aecf4dddf05e98f41.tar.gz
rsyslog: fix segfault after configuration errors
rsyslog will segfault on startup if a) the local machine's hostname is set to a non-FQDN name b) the getaddrinfo() system call fails This scenario is higly unlikely, but may exist especially with provisioned VMs which may not properly be able to do name queries on startup (seen for example on AWS). This patch fixes the situation and also provides more robustness for very early startup error messages when some of the error-reporting subsystem is not yet properly initialized. Note that under these circumstances, errors may only show up on stderr. closes https://github.com/rsyslog/rsyslog/issues/1573 Reference: https://github.com/rsyslog/rsyslog/issues/1573 Upstream patch: https://github.com/rsyslog/rsyslog/commit/6d258339802cb9f13d8a4a157a4b74eccb902d8f Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb')
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb
index bd317be645..597a0c8dcb 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb
@@ -25,6 +25,7 @@ SRC_URI = "http://www.rsyslog.com/download/files/download/rsyslog/${BPN}-${PV}.t
file://run-ptest \
file://rsyslog-fix-ptest-not-finish.patch \
file://CVE-2017-12588.patch \
+ file://0001-core-bugfix-segfault-after-configuration-errors.patch \
"
SRC_URI_append_libc-musl = " \