1940. [bug] Fixed a number of error conditions reported by
Coverity.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: keydelete.c,v 1.7 2004/06/11 00:27:06 marka Exp $ */
|
||||
/* $Id: keydelete.c,v 1.8 2005/11/30 03:33:48 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -118,7 +118,9 @@ sendquery(isc_task_t *task, isc_event_t *event) {
|
||||
|
||||
isc_event_free(&event);
|
||||
|
||||
inet_pton(AF_INET, "10.53.0.1", &inaddr);
|
||||
result = ISC_R_FAILURE;
|
||||
if (inet_pton(AF_INET, "10.53.0.1", &inaddr) != 1)
|
||||
CHECK("inet_pton", result);
|
||||
isc_sockaddr_fromin(&address, &inaddr, PORT);
|
||||
|
||||
query = NULL;
|
||||
|
||||
Reference in New Issue
Block a user