Skip to content

src: avoid crash using `uv.errname()` binding

Return undefined from uv binding when no args are provided and do the libuv call with any arg (if provided) to the binding.

Fixes: https://github.com/nodejs/node/issues/44400

This crash is being provoked by this assertion, using the binding directly is not guarantee that it will be invoked with the expected signature.

Merge request reports

Loading