HLE clears the result of blocked address lookups #1411
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1411
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1411/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?
@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 UTCAddresses 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_NUMERICHOSTand 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).