]> git.kaiwu.me - njs.git/commit
Handling zero byte characters inside RegExp pattern strings.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 4 Jun 2019 09:45:06 +0000 (12:45 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 4 Jun 2019 09:45:06 +0000 (12:45 +0300)
commitd14fed64975e3168346038a5ce5e11534ad84b57
tree909165db25c92ad92a49c3dc94b6ac9d4017d2e5
parent10c7ffb6d3cc8e9f6c0bb4bbc0fe730fe41ed1b2
Handling zero byte characters inside RegExp pattern strings.

Fixed heap-buffer-overflow in RegExp.prototype.source.
This closes #168 issue on Github.
njs/njs_regexp.c
njs/test/njs_unit_test.c