mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
3586. [buf] Handle errors in xmlDocDumpFormatMemoryEnc. [RT #33706]
This commit is contained in:
parent
099fa63e55
commit
7ee225cf90
8
CHANGES
8
CHANGES
@ -1,3 +1,5 @@
|
|||||||
|
3586. [buf] Handle errors in xmlDocDumpFormatMemoryEnc. [RT #33706]
|
||||||
|
|
||||||
3585. [func] "rndc delzone -clean" option removes zone files
|
3585. [func] "rndc delzone -clean" option removes zone files
|
||||||
when deleting a zone. [RT #33570]
|
when deleting a zone. [RT #33570]
|
||||||
|
|
||||||
@ -40,7 +42,7 @@
|
|||||||
[RT #33234]
|
[RT #33234]
|
||||||
|
|
||||||
3570. [bug] Check internal pointers are valid when loading map
|
3570. [bug] Check internal pointers are valid when loading map
|
||||||
files. [RT #33403]
|
files. [RT #33403]
|
||||||
|
|
||||||
3569. [contrib] Ported mysql DLZ driver to dynamically-loadable
|
3569. [contrib] Ported mysql DLZ driver to dynamically-loadable
|
||||||
module, and added multithread support. [RT #33394]
|
module, and added multithread support. [RT #33394]
|
||||||
@ -52,7 +54,7 @@
|
|||||||
|
|
||||||
3566. [func] Log when forwarding updates to master. [RT #33240]
|
3566. [func] Log when forwarding updates to master. [RT #33240]
|
||||||
|
|
||||||
3565. [placeholder]
|
3565. [placeholder]
|
||||||
|
|
||||||
3564. [bug] Improved handling of corrupted map files. [RT #33380]
|
3564. [bug] Improved handling of corrupted map files. [RT #33380]
|
||||||
|
|
||||||
@ -64,7 +66,7 @@
|
|||||||
|
|
||||||
3561. [bug] dig: issue a warning if an EDNS query returns FORMERR
|
3561. [bug] dig: issue a warning if an EDNS query returns FORMERR
|
||||||
or NOTIMP. Adjust usage message. [RT #33363]
|
or NOTIMP. Adjust usage message. [RT #33363]
|
||||||
|
|
||||||
3560. [bug] isc-config.sh did not honor includedir and libdir
|
3560. [bug] isc-config.sh did not honor includedir and libdir
|
||||||
when set via configure. [RT #33345]
|
when set via configure. [RT #33345]
|
||||||
|
|
||||||
|
@ -1185,6 +1185,8 @@ generatexml(ns_server_t *server, int *buflen, xmlChar **buf) {
|
|||||||
xmlFreeTextWriter(writer);
|
xmlFreeTextWriter(writer);
|
||||||
|
|
||||||
xmlDocDumpFormatMemoryEnc(doc, buf, buflen, "UTF-8", 0);
|
xmlDocDumpFormatMemoryEnc(doc, buf, buflen, "UTF-8", 0);
|
||||||
|
if (*buf == NULL)
|
||||||
|
goto error;
|
||||||
xmlFreeDoc(doc);
|
xmlFreeDoc(doc);
|
||||||
return (ISC_R_SUCCESS);
|
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,
|
isc_buffer_t *b, isc_httpdfree_t **freecb,
|
||||||
void **freecb_args)
|
void **freecb_args)
|
||||||
{
|
{
|
||||||
unsigned char *msg;
|
unsigned char *msg = NULL;
|
||||||
int msglen;
|
int msglen;
|
||||||
ns_server_t *server = arg;
|
ns_server_t *server = arg;
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user