Commit 80f1365a authored by Mark Andrews's avatar Mark Andrews
Browse files

sock could be used uninitalized in isc_socketmgr_renderxml on error

parent 4bf686cf
......@@ -3891,7 +3891,7 @@ _socktype(isc_sockettype_t type)
int
isc_socketmgr_renderxml(isc_socketmgr_t *mgr, xmlTextWriterPtr writer)
{
isc_socket_t *sock;
isc_socket_t *sock = NULL;
char peerbuf[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_t addr;
ISC_SOCKADDR_LEN_T len;
......
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