runtime/inflate: return structured InflateStatus via inflate_zlib_ex #1428
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!1428
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1428/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tedin7 on GitHub · 2026-11-24 11:20 UTC · original
tedin7:x2w-h-inflate-ex→main· +271 −16 · 4 files · 1 commits · merged 2026-11-24 12:07 UTCAddresses #1198
Adds
enum class InflateStatus { ok, insufficient_output, corrupt_stream, bad_checksum }andinflate_zlib_ex(...)tosrc/startup_stubs/inflate.hso callers can distinguish output-capacity overflow from corrupt streams and Adler-32 checksum mismatches, while keepinginflate_zlib(...)as a thin compatible wrapper.Verification
g++ -std=c++17 -Wall -Wextra -Werror -Isrc tests/startup_inflate_status.cpp -o /tmp/startup_inflate_status && /tmp/startup_inflate_statusg++ -std=c++17 -Isrc tests/startup_inflate_probe.cpp -o /tmp/startup_inflate_probe && python3 tests/startup_inflate_check.py /tmp/startup_inflate_probepython3 tests/docs_links_check.py && python3 tests/bidi_controls_check.py && git diff --checkAI-assisted; commands listed were executed locally.
@tedin7 on GitHub · 2026-11-24 11:25 UTC · original
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207) at commit
4e69fd96:--preset dev):ctest --preset dev -R '^startup_inflate_status$' --no-tests=error --output-on-failure— 1/1 passed (0.02s)/O2(--preset release):ctest --preset release -R '^startup_inflate_status$' --no-tests=error --output-on-failure— 1/1 passed (0.01s)@chatgpt-codex-connector[bot] on GitHub · 2026-11-24 11:26 UTC · original · edited 2026-11-24 11:28 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
4e69fd9ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.