mirror of https://github.com/lukechilds/node.git
Browse Source
Previously, port was assumed to be a number and would cause an abort in cares_wrap. This change throws a TypeError if port is not a number before we actually hit C++. Fixes: https://github.com/nodejs/node/issues/4837 PR-URL: https://github.com/nodejs/node/pull/4839 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>process-exit-stdio-flushing
Evan Lucas
9 years ago
2 changed files with 19 additions and 0 deletions
Loading…
Reference in new issue