Searched hist:e5a6b0f8 (Results 1 – 1 of 1) sorted by relevance
/reactos/dll/win32/shell32/ |
H A D | shlexec.cpp | diff e5a6b0f8 Fri Jan 10 19:45:43 GMT 2025 Oleg Dubinskiy <oleg.dubinskij30@gmail.com> [SHELL32] SHELL_ArgifyW(): don't use SearchPathW() for receiving a path to a file (#7605)
Get rid from bogus SearchPathW() call, which is marked as most likely not needed in the comment above (by Wine). Simply get a length of the file name and use the file name directly instead, with checking for its validity too. Similarly as it's done for other cases.
That call seems actually not needed because it is already done using SearchPathW() in another parts of the code in this file, before calling SHELL_ArgifyW().
Fixes another heap corruption when trying to login via OAuth menthod in SpotifyXP 2.0.3 Beta (nightly build). The previous commit did not fix the bug fully, as I discovered it later.
CORE-19953
|