Skip to content

src: fix c++ exception on bad command line arg

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix46223 into main

Replace stoull() with strtoull(). The former throws an exception when the input is malformed, the latter doesn't.

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

Merge request reports

Loading