mirror of https://github.com/nodejs/node.git
d615aeb758
When `napi_create_string_*` receives a null pointer as its second argument, it must null-check it before passing it into V8, otherwise a crash will occur. Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com> PR-URL: https://github.com/nodejs/node/pull/38923 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> |
||
---|---|---|
.. | ||
2_function_arguments | ||
3_callbacks | ||
4_object_factory | ||
5_function_factory | ||
6_object_wrap | ||
7_factory_wrap | ||
8_passing_wrapped | ||
test_array | ||
test_bigint | ||
test_constructor | ||
test_conversions | ||
test_dataview | ||
test_date | ||
test_error | ||
test_exception | ||
test_function | ||
test_general | ||
test_handle_scope | ||
test_instance_data | ||
test_new_target | ||
test_number | ||
test_object | ||
test_promise | ||
test_properties | ||
test_reference | ||
test_reference_double_free | ||
test_string | ||
test_symbol | ||
test_typedarray | ||
.gitignore | ||
common.c | ||
common.h | ||
entry_point.c | ||
testcfg.py |