af25fb40
by Kyle Yang at 2026-07-17T19:33:02+02:00
wininet: Fix out-of-bounds read in InternetCrackUrlW for empty file paths.
InternetCrackUrlW would read past the end of the string when parsing a
\"file:\" URL with an empty path and an immediate fragment, e.g., \"file://#\".
Add a check for this case and return ERROR_INVALID_PARAMETER as expected.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59973