Skip to content

Align fs.ReadStream buffer pool writes to 8-byte boundary

Rodrigo Muino Tomonari requested to merge github/fork/trxcllnt/bugfix/24817 into master

fs: align fs.ReadStream buffer pool writes to 8-byte boundary

Prevents alignment issues when people create a typed array from a chunk buffer, similar to https://github.com/nodejs/node/commit/285d8c658914d43cb39bacbde1ae62d8f6be25cf.

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

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