runtime/inflate: return structured InflateStatus via inflate_zlib_ex #1421
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1428"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:20:59Z.
Addresses #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.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:25:55Z.
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)Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:26:04Z.
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.