mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Ensure writevSync() validates every chunk before handing the batch to the push queue. Invalid chunks now throw ERR_INVALID_ARG_TYPE without leaving data readable from the failed write. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: https://github.com/nodejs/node/pull/64300 Fixes: https://github.com/nodejs/node/issues/64299 Reviewed-By: James M Snell <jasnell@gmail.com>