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: keycreate.c,v 1.11 2004/06/11 00:27:05 marka Exp $ */
|
||||
/* $Id: keycreate.c,v 1.12 2005/11/30 03:33:48 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -144,7 +144,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);
|
||||
|
||||
dns_fixedname_init(&keyname);
|
||||
|
||||
Reference in New Issue
Block a user