Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package socat for openSUSE:Factory checked in at 2022-04-16 00:13:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/socat (Old) and /work/SRC/openSUSE:Factory/.socat.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "socat" Sat Apr 16 00:13:56 2022 rev:45 rq:969803 version:1.7.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/socat/socat.changes 2022-01-25 17:36:35.118121447 +0100 +++ /work/SRC/openSUSE:Factory/.socat.new.1941/socat.changes 2022-04-16 00:14:13.253646829 +0200 @@ -1,0 +2,7 @@ +Wed Apr 13 07:41:15 UTC 2022 - Martin Li??ka <mli...@suse.cz> + +- Use autosetup +- Add socat-fix-asan-error.patch that is offered to upstream + and that fixes an ASAN error seen for 'test 313 NESTEDOVFL'. + +------------------------------------------------------------------- New: ---- socat-fix-asan-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ socat.spec ++++++ --- /var/tmp/diff_new_pack.mc3K7P/_old 2022-04-16 00:14:13.865647646 +0200 +++ /var/tmp/diff_new_pack.mc3K7P/_new 2022-04-16 00:14:13.869647652 +0200 @@ -28,6 +28,7 @@ Source1: %{name}.changes Patch1: socat-ignore-tests-failure-boo1078346.patch Patch2: socat-common-fixes.patch +Patch3: socat-fix-asan-error.patch BuildRequires: iputils BuildRequires: net-tools BuildRequires: openssl-devel @@ -53,9 +54,7 @@ combination of two of these. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 +%autosetup sed 's|#! %{_bindir}/env bash|#!%{_bindir}/bash|' -i proxyecho.sh readline.sh %build ++++++ socat-fix-asan-error.patch ++++++ diff --git a/error.c b/error.c index 3135fd5..eacfec5 100644 --- a/error.c +++ b/error.c @@ -360,7 +360,7 @@ void msg2( if (handler) bufp[-1] = tolower(bufp[-1]); /* for debugging, low chars indicate messages from signal handlers */ #endif *bufp++ = ' '; - strncpy(bufp, text, BUFLEN-(bufp-buff)-1); + strncpy(bufp, text, BUFLEN-(bufp-buff)-2); strcat(bufp, "\n"); _msg(level, buff, syslp); if (level >= diagopts.exitlevel) {