Skip to content

buffer: improve ERR_BUFFER_OUT_OF_BOUNDS default

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/oob-err into master

This commit changes the default message used by ERR_BUFFER_OUT_OF_BOUNDS. Previously, the default message implied that the problematic was always a write, which is not accurate.

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

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

Merge request reports

Loading