Welcome! Log In Create A New Profile

Advanced

[njs] A fix of bug introduced in changeset 7f1f3dcb278f.

May 29, 2017 03:16PM
details: http://hg.nginx.org/njs/rev/4e2da602c2a3
branches:
changeset: 346:4e2da602c2a3
user: Igor Sysoev <igor@sysoev.ru>
date: Mon May 29 22:13:21 2017 +0300
description:
A fix of bug introduced in changeset 7f1f3dcb278f.

diffstat:

njs/njs_parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c0bdd23e740e -r 4e2da602c2a3 njs/njs_parser.c
--- a/njs/njs_parser.c Mon May 29 10:17:36 2017 +0300
+++ b/njs/njs_parser.c Mon May 29 22:13:21 2017 +0300
@@ -2434,7 +2434,7 @@ njs_parser_escape_string_create(njs_vm_t
}

} else {
- if ((src - p) > 6 || src == end || *(++src) == '}') {
+ if ((src - p) > 6 || src == end || *src++ != '}') {
goto invalid;
}
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] A fix of bug introduced in changeset 7f1f3dcb278f.

Igor Sysoev 633 May 29, 2017 03:16PM



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

Online Users

Guests: 56
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