From d7010deeb7ae4fa0bdbaef5b8ecb4415bc14b510752816ec2aaaf01ebf1b24e6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 9 Apr 2020 23:23:01 +0000 Subject: [PATCH] - Update to release 2.8.101 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=199 --- gs99-overrun.diff | 23 ----------------------- gsoap-2.8.100.tar.xz | 3 --- gsoap-2.8.101.tar.xz | 3 +++ gsoap.changes | 8 ++++++++ gsoap.spec | 7 +++---- sanitize_source.sh | 2 +- 6 files changed, 15 insertions(+), 31 deletions(-) delete mode 100644 gs99-overrun.diff delete mode 100644 gsoap-2.8.100.tar.xz create mode 100644 gsoap-2.8.101.tar.xz diff --git a/gs99-overrun.diff b/gs99-overrun.diff deleted file mode 100644 index f035d20..0000000 --- a/gs99-overrun.diff +++ /dev/null @@ -1,23 +0,0 @@ -From: Jan Engelhardt -Date: 2020-04-08 11:47:38.536817437 +0200 -References: https://sourceforge.net/p/gsoap2/bugs/1277/ - -Fix a buffer overread introduced in gsoap 2.8.99. - ---- - gsoap/stdsoap2.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: gsoap-2.8.100/gsoap/stdsoap2.cpp -=================================================================== ---- gsoap-2.8.100.orig/gsoap/stdsoap2.cpp -+++ gsoap-2.8.100/gsoap/stdsoap2.cpp -@@ -7075,7 +7075,7 @@ soap_accept(struct soap *soap) - if (getaddrinfo(soap->host, NULL, &hints, &res) == 0 && res) - { - struct sockaddr_storage result; -- (void)soap_memcpy(&result, sizeof(result), res->ai_addr, sizeof(result)); -+ (void)soap_memcpy(&result, sizeof(result), res->ai_addr, res->ai_addrlen < sizeof(result) ? res->ai_addrlen : sizeof(result)); - freeaddrinfo(res); - if (result.ss_family == AF_INET6) - { diff --git a/gsoap-2.8.100.tar.xz b/gsoap-2.8.100.tar.xz deleted file mode 100644 index eee13b2..0000000 --- a/gsoap-2.8.100.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:282bdc620793c13c03bb13018ad29748e03ba3d30c024684aabfd334e8557fc6 -size 16814704 diff --git a/gsoap-2.8.101.tar.xz b/gsoap-2.8.101.tar.xz new file mode 100644 index 0000000..1b1ab5d --- /dev/null +++ b/gsoap-2.8.101.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a86ff2dc69d685ecb8ce4570ce3658f25bd83c0e62b71e2913f965e30967427 +size 16819120 diff --git a/gsoap.changes b/gsoap.changes index 115d744..85fa7c7 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Apr 9 22:15:20 UTC 2020 - Jan Engelhardt + +- Update to release 2.8.101 + * Fix read beyond end-of-buffer in soap_accept + * Other unspecified improvements +- Drop gs99-overrun.diff + ------------------------------------------------------------------- Wed Apr 8 09:23:37 UTC 2020 - Jan Engelhardt diff --git a/gsoap.spec b/gsoap.spec index 9912306..4a09f8b 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -17,8 +17,8 @@ Name: gsoap -%define lname libgsoap-2_8_100 -Version: 2.8.100 +%define lname libgsoap-2_8_101 +Version: 2.8.101 Release: 0 Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications License: SUSE-GPL-2.0+-with-openssl-exception @@ -29,7 +29,6 @@ Source: gsoap-%version.tar.xz Source2: sanitize_source.sh Patch1: gsoap-automake1_13.diff Patch2: gsoap-01-sharedlibs.diff -Patch3: gs99-overrun.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -81,7 +80,7 @@ This subpackage contains the documentation for the gSOAP toolkit. %prep %setup -q cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c -%patch -P 1 -P 2 -P 3 -p1 +%patch -P 1 -P 2 -p1 ln -fs stdsoap2.cpp gsoap/stdsoap2.c %build diff --git a/sanitize_source.sh b/sanitize_source.sh index 6f0d768..5c89a5e 100644 --- a/sanitize_source.sh +++ b/sanitize_source.sh @@ -13,7 +13,7 @@ if ! which hardlink >/dev/null; then exit 1; fi; -version="2.8.100" +version="2.8.101" shortver="2.8" # agh... if [ ! -e "gsoap_$version.zip" ]; then wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"