2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 06:55:30 +00:00

699. [bug] The lexer mishandled empty quoted strings. [RT #694]

This commit is contained in:
Andreas Gustafsson
2001-01-22 02:46:34 +00:00
parent 4d30acbac5
commit e8af4e1524
2 changed files with 5 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
699. [bug] The lexer mishandled empty quoted strings. [RT #694]
698. [bug] Aborting nsupdate with ^C would lead to several 698. [bug] Aborting nsupdate with ^C would lead to several
race conditions. race conditions.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: lex.c,v 1.60 2001/01/16 07:47:16 marka Exp $ */ /* $Id: lex.c,v 1.61 2001/01/22 02:46:34 gson Exp $ */
#include <config.h> #include <config.h>
@@ -419,6 +419,8 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
options &= ~IWSEOL; options &= ~IWSEOL;
curr = lex->data; curr = lex->data;
*curr = '\0';
prev = NULL; prev = NULL;
remaining = lex->max_token; remaining = lex->max_token;
do { do {