details:   http://hg.nginx.org/njs/rev/5db6d7af16b4
branches:  
changeset: 302:5db6d7af16b4
user:      Igor Sysoev <[email protected]>
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) {
 
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to