mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
699. [bug] The lexer mishandled empty quoted strings. [RT #694]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* 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>
|
||||
|
||||
@@ -419,6 +419,8 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
|
||||
options &= ~IWSEOL;
|
||||
|
||||
curr = lex->data;
|
||||
*curr = '\0';
|
||||
|
||||
prev = NULL;
|
||||
remaining = lex->max_token;
|
||||
do {
|
||||
|
Reference in New Issue
Block a user