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 9fd48658fe
commit ff0277bbcf
2 changed files with 3 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
3297. [bug] Named could die on a malformed master file. [RT #28467]
3295. [bug] Adjust isc_time_secondsastimet range check to be more
portable. [RT # 26542]

View File

@@ -625,8 +625,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);
}