Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
9f41ec80
Commit
9f41ec80
authored
Nov 19, 2008
by
Mark Andrews
Browse files
1204 -> 1024U
parent
e7ba4d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bind9/check.c
View file @
9f41ec80
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check.c,v 1.9
4
2008/11/1
6 20:57:55
marka Exp $ */
/* $Id: check.c,v 1.9
5
2008/11/1
9 05:38:49
marka Exp $ */
/*! \file */
...
...
@@ -799,7 +799,7 @@ check_options(const cfg_obj_t *options, isc_log_t *logctx, isc_mem_t *mctx) {
obj
=
NULL
;
(
void
)
cfg_map_get
(
options
,
"server-id"
,
&
obj
);
if
(
obj
!=
NULL
&&
cfg_obj_isstring
(
obj
)
&&
strlen
(
cfg_obj_asstring
(
obj
))
>
1024
)
{
strlen
(
cfg_obj_asstring
(
obj
))
>
1024
U
)
{
cfg_obj_log
(
obj
,
logctx
,
ISC_LOG_ERROR
,
"'server-id' too big (>1024 bytes)"
);
result
=
ISC_R_FAILURE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment