From 9b65c6488a51d36513b9315c11dfb42f319079ac Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 3 Oct 2011 20:49:57 +0200 Subject: [PATCH] xmlrpc_serialize: check for faults before appending fixes https://bugzilla.redhat.com/show_bug.cgi?id=741980 which was caused by transmitting too large files within a structure. --- src/xmlrpc_serialize.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/xmlrpc_serialize.c b/src/xmlrpc_serialize.c index 78bbc10..e0d9376 100644 --- a/src/xmlrpc_serialize.c +++ b/src/xmlrpc_serialize.c @@ -370,7 +370,8 @@ serializeStruct(xmlrpc_env * const envP, memberKeyP, memberValueP, dialect); } } - addString(envP, outputP, ""); + if (!envP->fault_occurred) + addString(envP, outputP, ""); } } } -- 1.7.6