A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/11e4cd698b below:

fix possible dereference of null pointer · nodejs/node@11e4cd6 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -704,9 +704,9 @@ void napi_module_register_by_symbol(v8::Local<v8::Object> exports,

704 704

napi_addon_register_func init,

705 705

int32_t module_api_version) {

706 706

node::Environment* node_env = node::Environment::GetCurrent(context);

707 +

CHECK_NOT_NULL(node_env);

707 708

std::string module_filename = "";

708 709

if (init == nullptr) {

709 -

CHECK_NOT_NULL(node_env);

710 710

node_env->ThrowError("Module has no declared entry point.");

711 711

return;

712 712

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4