Refuse a WSAConnectByList count the list cannot back #527
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by pug205gti6 on 2026-11-25T01:59:42Z.
The 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.
Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-25T09:10:23Z.
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.Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-25T09:23:53Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.