Files
reactos/modules
Mohammad Amin Mollazadeh b35226eaa4 [USER32] Fix crash on calling LookupIconIdFromDirectoryEx with invalid directory (#9263)
* [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
2026-09-07 12:02:38 -04:00
..