[njs] Added missed njs_internal_error() call in njs_regexp_exec_result().

Valentin Bartenev vbart at nginx.com
Fri May 3 21:56:05 UTC 2019


details:   https://hg.nginx.org/njs/rev/fe74f3c7863a
branches:  
changeset: 942:fe74f3c7863a
user:      Valentin Bartenev <vbart at nginx.com>
date:      Sat May 04 00:56:39 2019 +0300
description:
Added missed njs_internal_error() call in njs_regexp_exec_result().

diffstat:

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

diffs (12 lines):

diff -r a9a4ffdea79c -r fe74f3c7863a njs/njs_regexp.c
--- a/njs/njs_regexp.c	Thu May 02 21:21:16 2019 +0300
+++ b/njs/njs_regexp.c	Sat May 04 00:56:39 2019 +0300
@@ -856,6 +856,8 @@ njs_regexp_exec_result(njs_vm_t *vm, njs
         goto done;
     }
 
+    njs_internal_error(vm, "lvlhsh insert failed");
+
 fail:
 
     ret = NXT_ERROR;


More information about the nginx-devel mailing list