mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
1204 -> 1024U
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: check.c,v 1.94 2008/11/16 20:57:55 marka Exp $ */
|
/* $Id: check.c,v 1.95 2008/11/19 05:38:49 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -799,7 +799,7 @@ check_options(const cfg_obj_t *options, isc_log_t *logctx, isc_mem_t *mctx) {
|
|||||||
obj = NULL;
|
obj = NULL;
|
||||||
(void)cfg_map_get(options, "server-id", &obj);
|
(void)cfg_map_get(options, "server-id", &obj);
|
||||||
if (obj != NULL && cfg_obj_isstring(obj) &&
|
if (obj != NULL && cfg_obj_isstring(obj) &&
|
||||||
strlen(cfg_obj_asstring(obj)) > 1024) {
|
strlen(cfg_obj_asstring(obj)) > 1024U) {
|
||||||
cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
|
cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
|
||||||
"'server-id' too big (>1024 bytes)");
|
"'server-id' too big (>1024 bytes)");
|
||||||
result = ISC_R_FAILURE;
|
result = ISC_R_FAILURE;
|
||||||
|
Reference in New Issue
Block a user