aboutsummaryrefslogtreecommitdiff
path: root/devel/gsoap/files/patch-soapcpp2-stdsoap2.c
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-10-08 11:25:32 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-10-08 11:25:32 +0000
commit930b4752f78af86c50f56bd8b6541305e1b79e65 (patch)
tree984f99c21f10ef14348c11ebd50cba35f7297646 /devel/gsoap/files/patch-soapcpp2-stdsoap2.c
parent414485f9972c47b2f4126322a71149cb49571e80 (diff)
Notes
Diffstat (limited to 'devel/gsoap/files/patch-soapcpp2-stdsoap2.c')
-rw-r--r--devel/gsoap/files/patch-soapcpp2-stdsoap2.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/gsoap/files/patch-soapcpp2-stdsoap2.c b/devel/gsoap/files/patch-soapcpp2-stdsoap2.c
index 97a95f644c1b..1eb09229ddbe 100644
--- a/devel/gsoap/files/patch-soapcpp2-stdsoap2.c
+++ b/devel/gsoap/files/patch-soapcpp2-stdsoap2.c
@@ -1,6 +1,6 @@
---- soapcpp2/stdsoap2.c.orig Sat May 20 00:20:40 2006
-+++ soapcpp2/stdsoap2.c Sat May 20 00:58:33 2006
-@@ -3251,7 +3251,7 @@
+--- soapcpp2/stdsoap2.c.orig Mon Jun 26 21:36:38 2006
++++ soapcpp2/stdsoap2.c Fri Sep 29 14:22:51 2006
+@@ -3282,7 +3282,7 @@
soap->errnum = h_errno;
}
#elif defined(HAVE_GETHOSTBYNAME_R)
@@ -9,3 +9,12 @@
#elif defined(VXWORKS)
/* If the DNS resolver library resolvLib has been configured in the vxWorks
* image, a query for the host IP address is sent to the DNS server, if the
+@@ -7616,7 +7616,7 @@
+ break;
+ }
+ if (!tp)
+- { tp = (struct soap_attribute*)SOAP_MALLOC(soap, sizeof(struct soap_attribute) + strlen(soap->tmpbuf));
++ { tp = (struct soap_attribute*)SOAP_MALLOC(soap, sizeof(struct soap_attribute) + strlen(soap->tmpbuf) + 1);
+ if (!tp)
+ return soap->error = SOAP_EOM;
+ strcpy(tp->name, soap->tmpbuf);