Files
node/test/parallel
Philipp Dunkel e7834cdbd0 test: cover ZIP fd lifecycle and add rollback
Add regression tests for two node:zlib ZipFile robustness issues:

- A read in flight when close() is called must complete on a live
  descriptor; close() must not release the fd out from under it (which
  surfaces as EBADF, or an OS-reused-fd cross-file read).
- If the central-directory rewrite fails after add() has written the
  member bytes, both the in-memory state and the on-disk archive must be
  rolled back, not left half-updated.

Signed-off-by: Philipp Dunkel <pip@pipobscure.com>
PR-URL: https://github.com/nodejs/node/pull/65016
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2026-08-14 03:39:45 +00:00
..
2026-08-01 14:48:00 +02:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-07-18 12:59:37 -07:00
2026-08-05 22:50:13 -07:00