Refuse a WSAConnectByList count the list cannot back #527
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!527
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-527"
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?
@pug205gti6 on GitHub · 2026-11-25 01:59 UTC · original
pug205gti6:pr/476-hle-net→main· +42 −0 · 1 files · 1 commits · openThe count became a &[SocketAddress] of that length before any address was vetted, so one real 16-byte entry with iAddressCount = 0x7FFFFFFF made a ~34 GB slice and read past the allocation as pointers and lengths. A SOCKET_ADDRESS_LIST carries no size to check the count against, so more candidates than any title offers (64) are now refused with WSAEINVAL instead of walked: the call fails closed like every other vetted path in this module, and honest lists still reach the host unchanged.
Fixes #428.
@Headache3318 on GitHub · 2026-11-25 09:10 UTC · original
Independent verification: PR #527 merges cleanly onto main (
310c6eb→ 2cd6cd2), no conflicts. Build: success (10.06s). Tests: fail due to pre-existing Linux build issues in victory-loader (windows_sys/console_insn not cfg-gated) and victory-gpu — unrelated to PR #527. PR contains 200+ stacked commits from multiple forks; new content is net.rs (+42 lines). PR introduces no new failures. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.@Headache3318 on GitHub · 2026-11-25 09:23 UTC · original
Independent verification: PR #527 merges cleanly onto main (
310c6eb), no conflicts. Build: success (10.06s). Tests: fail due to pre-existing Linux build issues in victory-loader (windows_sys/console_insn not cfg-gated) and victory-gpu — unrelated to PR #527. PR contains 200+ stacked commits from multiple forks; new content is net.rs (+42 lines). PR introduces no new failures. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.