WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
306192
[bmalloc] handle multiple regions in vmZeroAndPurge on windows
https://bugs.webkit.org/show_bug.cgi?id=306192
Summary
[bmalloc] handle multiple regions in vmZeroAndPurge on windows
Dylan Conway
Reported
2026-01-24 15:48:10 PST
Two bugs in vmZeroAndPurge on Windows: 1. If the input pointer+size spans more than one region DiscardVirtualMemory / VirtualFree(MEM_DECOMMIT) / VirtualAlloc(MEM_COMMIT) will fail. 2. DiscardVirtualMemory does not guarantee zeroing the memory so we need to use VirtualFree(MEM_DECOMMIT) / VirtualAlloc(MEM_COMMIT) instead
Attachments
Add attachment
proposed patch, testcase, etc.
EWS
Comment 1
2026-01-25 12:04:55 PST
Committed
306171@main
(adb333973f88): <
https://commits.webkit.org/306171@main
> Reviewed commits have been landed. Closing PR #57187 and removing active labels.
Radar WebKit Bug Importer
Comment 2
2026-01-25 12:05:13 PST
<
rdar://problem/168877040
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug