- 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:
Jan Engelhardt 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)
{

3
gsoap-2.8.100.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:282bdc620793c13c03bb13018ad29748e03ba3d30c024684aabfd334e8557fc6
size 16814704

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3fb5bf573105fb06fbceca149c41c5c52e27c9b4d99acecb045009de404988c
size 16962564

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"