Welcome! Log In Create A New Profile

Advanced

[njs] A scope has been added to literal nodes.

January 16, 2017 10:16AM
details: http://hg.nginx.org/njs/rev/5db6d7af16b4
branches:
changeset: 302:5db6d7af16b4
user: Igor Sysoev <igor@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) {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] A scope has been added to literal nodes.

Igor Sysoev 712 January 16, 2017 10:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 82
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready