Commit 7ee225cf authored by Mark Andrews's avatar Mark Andrews
Browse files

3586. [buf] Handle errors in xmlDocDumpFormatMemoryEnc. [RT #33706]

parent 099fa63e
3586. [buf] Handle errors in xmlDocDumpFormatMemoryEnc. [RT #33706]
3585. [func] "rndc delzone -clean" option removes zone files
when deleting a zone. [RT #33570]
......@@ -1185,6 +1185,8 @@ generatexml(ns_server_t *server, int *buflen, xmlChar **buf) {
xmlDocDumpFormatMemoryEnc(doc, buf, buflen, "UTF-8", 0);
if (*buf == NULL)
goto error;
return (ISC_R_SUCCESS);
......@@ -1211,7 +1213,7 @@ render_index(const char *url, const char *querystring, void *arg,
isc_buffer_t *b, isc_httpdfree_t **freecb,
void **freecb_args)
unsigned char *msg;
unsigned char *msg = NULL;
int msglen;
ns_server_t *server = arg;
isc_result_t result;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment