]> git.kaiwu.me - njs.git/commit
Fixed GetSubstitution() with absent namedCaptures.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 7 Jul 2020 12:23:45 +0000 (12:23 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 7 Jul 2020 12:23:45 +0000 (12:23 +0000)
commit23cef9ab7bc9badef6e5d8444dd456534eb396ee
tree18a02e6839e1c11b7d7d9b58366eee70d5e4789c
parentfb9731009ddbcdb7ba009bf444d02c743482c59d
Fixed GetSubstitution() with absent namedCaptures.

This issue was introduced in 1c729f765cfb.
Found by Clang static analyzer.
src/njs_string.c
src/test/njs_unit_test.c