forked from pool/gsoap
- Update to release 2.8.101
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=199
This commit is contained in:
parent
d08fa289f1
commit
d7010deeb7
@ -1,23 +0,0 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
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)
|
||||
{
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:282bdc620793c13c03bb13018ad29748e03ba3d30c024684aabfd334e8557fc6
|
||||
size 16814704
|
3
gsoap-2.8.101.tar.xz
Normal file
3
gsoap-2.8.101.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5a86ff2dc69d685ecb8ce4570ce3658f25bd83c0e62b71e2913f965e30967427
|
||||
size 16819120
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 9 22:15:20 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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 <jengelh@inai.de>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user