]> git.kaiwu.me - njs.git/commit
Added missing element in typeof table for DataView() type.
authorArtem S. Povalyukhin <artem.povaluhin@gmail.com>
Fri, 24 Dec 2021 07:00:15 +0000 (10:00 +0300)
committerArtem S. Povalyukhin <artem.povaluhin@gmail.com>
Fri, 24 Dec 2021 07:00:15 +0000 (10:00 +0300)
commitd457c9545e7e71ebb5c0479eb16b9d33175855e2
tree4610fb42a3fb66f8b10f950463f00cd7eee2ef91
parent61c91f55b925083246157ded44d54583025d115e
Added missing element in typeof table for DataView() type.

Previously, typeof operation for DataView object resulted
in out of bounds array accessing.

This fixes #450 issue on Github.
src/njs_vmcode.c
src/test/njs_unit_test.c