mirror of https://github.com/lukechilds/node.git
Browse Source
ParseArrayIndex() was requesting a Uint32Value(), but assigning it to an in32_t. This caused slight differences in error message reported in edge cases of argument parsing. Fixed by getting the IntegerValue() before checking if the value is < 0. Added test of API that was affected. PR-URL: https://github.com/nodejs/node/pull/6084 Reviewed-By: James M Snell <jasnell@gmail.com>process-exit-stdio-flushing
2 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue