From: Igor Sysoev Date: Mon, 16 Jan 2017 15:14:01 +0000 (+0300) Subject: A scope has been added to literal nodes. X-Git-Tag: 0.1.8~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=e7d1f806dd069201a70a4917247e27d14af018b3;p=njs.git A scope has been added to literal nodes. Found with afl-fuzz. --- 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) {