mirror of
https://github.com/reactos/reactos.git
synced 2026-09-09 19:03:52 +08:00
* [USER32_APITEST] Add LookupIconIdFromDirectoryEx invalid input test (#9263)
Calling it with invalid pointer crashes the caller, while on Windows
it returns 0 without error or crash.
CORE-19544, CORE-15879
* [USER32] Fix LookupIconIdFromDirectoryEx crash with invalid pointer (#9263)
This problem is similar to 60851914a8 (#5106) / CORE-15879.
Add SEH exception handler to prevent the crash, matching Windows behavior.
CORE-19544, CORE-15879