repack: validate against zero-size replacement entries #9

Closed
opened 2026-11-26 20:55:40 +00:00 by github-bot · 0 comments
Owner

@⁠nineforge0 on GitHub · 2026-11-24 07:54 UTC · original

When a replacement file is empty (0 bytes), repack writes a zero-size record that the reader cannot decode back. The repack command should validate replacement sizes and reject empty files with a clear error.

Discovered via CodeRabbit review on awesome-gta6-reverse-engineering#17.

**@⁠nineforge0** on GitHub · 2026-11-24 07:54 UTC · [original](https://github.com/nineforge0/forge9/issues/9) When a replacement file is empty (0 bytes), `repack` writes a zero-size record that the reader cannot decode back. The repack command should validate replacement sizes and reject empty files with a clear error. Discovered via CodeRabbit review on awesome-gta6-reverse-engineering#17.
github-bot 2026-11-26 20:55:40 +00:00
  • closed this issue
  • added the
    bug
    label
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.