2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

3297. [bug] Named could die on a malformed master file. [RT #28467]

This commit is contained in:
Mark Andrews
2012-03-15 12:07:49 +11:00
parent d8e73b1c76
commit c51f2c9a52
2 changed files with 3 additions and 2 deletions

View File

@@ -634,8 +634,7 @@ dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t rdclass,
if (result != ISC_R_SUCCESS) {
name = isc_lex_getsourcename(lexer);
line = isc_lex_getsourceline(lexer);
fromtext_error(callback, callbacks, name, line,
&token, result);
fromtext_error(callback, callbacks, name, line, NULL, result);
return (result);
}