1130. [bug] Out of range serial number were not being logged.

[RT #2076]
This commit is contained in:
Mark Andrews 2001-11-16 10:50:00 +00:00
parent db0e722d83
commit d1abb8bb02
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,6 @@
1130. [bug] Out of range serial number were not being logged.
[RT #2076]
1129. [bug] Multithreaded servers could crash under heavy
resolution load due to a race condition. [RT #2018]

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lex.c,v 1.66 2001/07/12 03:51:14 marka Exp $ */
/* $Id: lex.c,v 1.67 2001/11/16 10:50:00 marka Exp $ */
#include <config.h>
@ -770,6 +770,8 @@ isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token,
else if (expect == isc_tokentype_number)
options |= ISC_LEXOPT_NUMBER;
result = isc_lex_gettoken(lex, options, token);
if (result == ISC_R_RANGE)
isc_lex_ungettoken(lex, token);
if (result != ISC_R_SUCCESS)
return (result);