SHA256
1
0
forked from pool/gsoap

- Update to release 2.8.100

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=196
This commit is contained in:
2020-04-08 09:50:28 +00:00
committed by Git OBS Bridge
parent 8cea530f45
commit f311efd594
6 changed files with 39 additions and 6 deletions

23
gs99-overrun.diff Normal file
View File

@@ -0,0 +1,23 @@
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);
freeaddrinfo(res);
if (result.ss_family == AF_INET6)
{

BIN
gsoap-2.8.100.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gsoap-2.8.99.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Apr 8 09:23:37 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.8.100
* Improved proxy connectivity on the client side to handle bearer
authentication.
* Improved soapcpp2 handling of the `#module` directive.
* Fixed an MTOM flag clearing issue hampering MTOM usability.
- Add gs99-overrun.diff
-------------------------------------------------------------------
Wed Mar 18 12:17:15 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -17,8 +17,8 @@
Name: gsoap
%define lname libgsoap-2_8_99
Version: 2.8.99
%define lname libgsoap-2_8_100
Version: 2.8.100
Release: 0
Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications
License: SUSE-GPL-2.0+-with-openssl-exception

View File

@@ -13,7 +13,7 @@ if ! which hardlink >/dev/null; then
exit 1;
fi;
version="2.8.99"
version="2.8.100"
shortver="2.8" # agh...
if [ ! -e "gsoap_$version.zip" ]; then
wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"