mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
check ptr is not NULL
This commit is contained in:
@@ -9262,6 +9262,9 @@ ns_server_rekey(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) {
|
||||
char *ptr;
|
||||
|
||||
ptr = next_token(lex, text);
|
||||
if (ptr == NULL)
|
||||
return (ISC_R_UNEXPECTEDEND);
|
||||
|
||||
if (strcasecmp(ptr, NS_COMMAND_SIGN) == 0)
|
||||
fullsign = ISC_TRUE;
|
||||
|
||||
|
Reference in New Issue
Block a user