Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
1824b43f
Commit
1824b43f
authored
Mar 21, 2001
by
Andreas Gustafsson
Browse files
parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
an assertion
parent
1ea29ff8
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isccfg/parser.c
View file @
1824b43f
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: parser.c,v 1.4
8
2001/03/
19 22:34:12 bwelling
Exp $ */
/* $Id: parser.c,v 1.4
9
2001/03/
21 19:01:36 gson
Exp $ */
#include <config.h>
...
...
@@ -2325,6 +2325,7 @@ parse_mapbody(cfg_parser_t *pctx, cfg_type_t *type, cfg_obj_t **ret)
}
else
if
(
result
==
ISC_R_SUCCESS
)
{
parser_error
(
pctx
,
LOG_NEAR
,
"'%s' redefined"
,
clause
->
name
);
result
=
ISC_R_EXISTS
;
goto
cleanup
;
}
else
{
parser_error
(
pctx
,
LOG_NEAR
,
...
...
Write
Preview
Markdown
is supported
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