xmlrpc-c/fix-string-exceptions.patch
2012-08-26 16:48:38 +02:00

23 lines
738 B
Diff

commit e843bfc560ec7baabf9f88421ecdd1826e9fb578
Author: giraffedata <giraffedata@adbb7d4b-a73a-0410-a071-c5f57c452bd4>
Date: Wed Aug 22 03:18:22 2012 +0000
Release 1.25.19
git-svn-id: https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable@2385 adbb7d4b-a73a-0410-a071-c5f57c452bd4
diff --git a/src/xmlrpc_string.c b/src/xmlrpc_string.c
index ac9a1f5..9496bfa 100644
--- a/src/xmlrpc_string.c
+++ b/src/xmlrpc_string.c
@@ -673,6 +673,10 @@ stringNew(xmlrpc_env * const envP,
xmlrpc_value * valP;
+ // hack to work around old-style exception cleanup in
+ // convert_params() in xmlrpc_parse.c.
+ valP = NULL;
+
xmlrpc_validate_utf8(envP, value, length);
if (!envP->fault_occurred) {