[njs] A scope has been added to literal nodes.
Igor Sysoev
igor at sysoev.ru
Mon Jan 16 15:15:21 UTC 2017
details: http://hg.nginx.org/njs/rev/5db6d7af16b4
branches:
changeset: 302:5db6d7af16b4
user: Igor Sysoev <igor at sysoev.ru>
date: Mon Jan 16 18:14:01 2017 +0300
description:
A scope has been added to literal nodes.
Found with afl-fuzz.
diffstat:
njs/njs_parser.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 6cc16ad934a4 -r 5db6d7af16b4 njs/njs_parser.c
--- a/njs/njs_parser.c Mon Jan 16 17:32:10 2017 +0300
+++ b/njs/njs_parser.c Mon Jan 16 18:14:01 2017 +0300
@@ -1778,6 +1778,7 @@ njs_parser_terminal(njs_vm_t *vm, njs_pa
}
node->token = token;
+ node->scope = parser->scope;
switch (token) {
More information about the nginx-devel
mailing list