HLE clears the result of blocked address lookups #1411

Manually merged
github merged 1 commit from gh-pr/1411/head into gh-pr/1411/base 2026-11-26 04:30:46 +00:00
Owner

@⁠BaggyALPHA on GitHub · 2026-11-24 17:49 UTC · original
BaggyALPHA:fix/clear-blocked-name-result → main · +57 −4 · 1 files · 1 commits · merged 2026-11-25 00:14 UTC

Addresses item 23 (VIC-BT-023) in #1242. When the existing policy blocks a name, all four forward lookup wrappers clear the caller's result slot and return WSAHOST_NOT_FOUND. Passing a null output still returns the same error.

Native Windows Winsock clears the result for the same error across all four variants. I verified this using AI_NUMERICHOST and a nonnumeric name, so the comparison makes no DNS requests. The synthetic regression failed before the fix and now covers ANSI, Unicode, and the two extended variants. All 96 HLE tests, Clippy with all targets and features, and the asset-policy hook passed on Windows.

AI-assisted (Codex).

**@⁠BaggyALPHA** on GitHub · 2026-11-24 17:49 UTC · [original](https://github.com/Marvisak/VIctory/pull/1411) `BaggyALPHA:fix/clear-blocked-name-result` → `main` · +57 −4 · 1 files · 1 commits · merged 2026-11-25 00:14 UTC Addresses item 23 (VIC-BT-023) in #1242. When the existing policy blocks a name, all four forward lookup wrappers clear the caller's result slot and return `WSAHOST_NOT_FOUND`. Passing a null output still returns the same error. Native Windows Winsock clears the result for the same error across all four variants. I verified this using `AI_NUMERICHOST` and a nonnumeric name, so the comparison makes no DNS requests. The synthetic regression failed before the fix and now covers ANSI, Unicode, and the two extended variants. All 96 HLE tests, Clippy with all targets and features, and the asset-policy hook passed on Windows. AI-assisted (Codex).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:30:45 +00:00
github manually merged commit 2b13ae4192 into gh-pr/1411/base 2026-11-26 04:30:46 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1411
No description provided.