]> git.kaiwu.me - njs.git/commit
Fixed njs_vmcode_property_init().
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 12 Aug 2019 11:54:46 +0000 (14:54 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 12 Aug 2019 11:54:46 +0000 (14:54 +0300)
commit391424ddd546e4efd1cf76aff09946c0fc0ba6a6
treee74cf875033083f729bd49f44d237969d58008bc
parentd4b3e098e27f7b3221425989a4175f69d6d92b20
Fixed njs_vmcode_property_init().

Function assumed obj->__proto__ is never NULL, whereas it can become
NULL after __proto__: null assignment.
src/njs_vmcode.c
src/test/njs_unit_test.c