[njs] Fixed buffer overrun by memcpy() (CID 1441409).

Dmitry Volyntsev xeioex at nginx.com
Mon Nov 19 14:38:30 UTC 2018


details:   http://hg.nginx.org/njs/rev/6f29f93b0390
branches:  
changeset: 660:6f29f93b0390
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Nov 19 16:55:37 2018 +0300
description:
Fixed buffer overrun by memcpy() (CID 1441409).

diffstat:

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

diffs (11 lines):

diff -r 2b18ef4e86d1 -r 6f29f93b0390 njs/njs_builtin.c
--- a/njs/njs_builtin.c	Mon Nov 19 16:30:35 2018 +0300
+++ b/njs/njs_builtin.c	Mon Nov 19 16:55:37 2018 +0300
@@ -225,7 +225,6 @@ const njs_object_prototype_t  njs_protot
     { .object =       { .type = NJS_OBJECT_SYNTAX_ERROR } },
     { .object =       { .type = NJS_OBJECT_TYPE_ERROR } },
     { .object =       { .type = NJS_OBJECT_URI_ERROR } },
-    { .object =       { .type = NJS_OBJECT_INTERNAL_ERROR } },
 };
 
 


More information about the nginx-devel mailing list