aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rsyslog
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-01-17 15:16:23 +0800
committerKhem Raj <raj.khem@gmail.com>2023-01-17 01:05:53 -0800
commit7ef1353bdfb4f6cc32b7f8406a63bee7b3979318 (patch)
tree4e8c7f436ad714f85ae5cd918205463c630934f0 /meta-oe/recipes-extended/rsyslog
parentab74231fc98a3875c7d944e36ca95dc0fb0e773f (diff)
downloadmeta-openembedded-contrib-7ef1353bdfb4f6cc32b7f8406a63bee7b3979318.tar.gz
librelp: upgrade 1.10.0 -> 1.11.0
Changelog: =========== - code cleanup During the initial librelp implementation it was thought about an auto-retry feature (whatever that means). Variable bAutoRetry was created to control that behaviour. It's default was 0 (inactive). Some code has been written to evaluate that variable and act accordingly. However, no setter method for this variable was created and it was also nowhere changed from the default value of zero. As such, the code activated by it was never used. This patch now removes both the variable and the few code lines accessing it. This will have no effect, as the code was never used. - testbench: Fix commands in some openssl tests Those commands were not correctly handeled on AIX, now they are. - AIX: Changed ERRNO handling after connect in tcp.c - AIX: Add handling for other ERRNO codes in tcp.c - bugfix/TCP: relpTcpGetRtryDirection onyl needs to check direction if SSL is active. - AIX: in relpTcpRcv we need to set RETRY_recv if errno is 0 On AIX 10.x, when a recv call fails with len -1 and errno 0 we can still go into relpTCP_RETRY_recv mode. Testbench on rsyslog side appears to be finally working with this fix. On AIX 10.x, same problem as above appear to happen with connect() as well not setting errno to EINPROGRESS on failure. rsyslog ptcp driver does not check errno value at all, which is why we did not have this problem on AIX with rsyslog. Reduce test message count in receiver-abort.sh to 50000, because otherwise the test can timeout on very slow machines. - openssl: fix openssl exit code avoid double free of ctx When more than one librelp instance are used in the same process, and the relpTcpExitTLS call was called a second time, the process could freeze due a double free (See SSL_CTX_free call). Thanks to David GOUARIN <david.gouarin@thalesgroup.com> for the discovery and initial fix. Also added an openssl instance counter to avoid freeing the SSL library which could be still in use by another librelp instance in the same process. - librelp hardening: Fix multiple minor issues causing debugging trouble - avoid invalid dbgprint calls - avoid double free in relpTcpDestruct (if called twice). - add debug output into relpTcpRcv - OpenSSL: fix depreacted API issues for OpenSSL 3.x - OpenSSL error strings are loaded automatically now - Adapted Debug Callback for 3.x - bugfix: compatiblity problem with openssl 1.1 There were undefined reference to CRYPTO_set_id_callback if system use openssl 1.1, which lead to load and/or other erros. - bugfix: Forward return code from relpEngineSetTLSLib to relpEngineSetTLSLibName Previous situation: In case librelp is compiled without openssl support but openssl is requested from the user side, then librelp silently switches to the default tls driver(gnutls). - bugfix: make relpEngineSetTLSLib debug safe In case pThis == NULL condition is true at line - bugfix: warnings reported by coverity scan - testbench: Added compatiblity to run on AIX - removed long options from receive send utilities (Not supported on AIX). - added checks for existing commands in some tests. - added msleep utility from rsyslog (sleep, timeout etc. not supported on AIX). - github workflow: Disabled some unrelated tests from rsyslog testbench - gnutls drvr bugfix: library called exit() under some circumstances When relpTcpRcv ran into an error, it could call exit() and thus terminate the calling process. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog')
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb (renamed from meta-oe/recipes-extended/rsyslog/librelp_1.10.0.bb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.10.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
index acdbbb7d1b..7d3b82b610 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.10.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
@@ -9,7 +9,7 @@ DEPENDS = "gmp nettle libidn zlib gnutls openssl"
SRC_URI = "git://github.com/rsyslog/librelp.git;protocol=https;branch=stable \
"
-SRCREV = "9e749453d51d602d8159717f8a7c27971dcb4c6c"
+SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396"
S = "${WORKDIR}/git"