Skip to content

src: guard against overflow in ParseArrayIndex()

ParseArrayIndex() would wrap around large (>=2^32) index values on platforms where sizeof(int64_t) > sizeof(size_t). Ensure that the return value fits in a size_t.

CI: https://ci.nodejs.org/job/node-test-pull-request/3139/

Merge request reports

Loading