Skip to content

buffer: fix wrong value of buffer.constants.MAX_LENGTH

The value of buffer.kMaxLength is different from buffer.constants.MAX_LENGT.This change is to fix it.

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

buffer

Merge request reports

Loading