From e7d1f806dd069201a70a4917247e27d14af018b3 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 16 Jan 2017 18:14:01 +0300 Subject: [PATCH] A scope has been added to literal nodes. Found with afl-fuzz. --- njs/njs_parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/njs/njs_parser.c b/njs/njs_parser.c index 4fdbb173..6d881f1b 100644 --- a/njs/njs_parser.c +++ b/njs/njs_parser.c @@ -1778,6 +1778,7 @@ njs_parser_terminal(njs_vm_t *vm, njs_parser_t *parser, njs_token_t token) } node->token = token; + node->scope = parser->scope; switch (token) { -- 2.47.3