Re: kernel32: catch invalid memory accesses in resource enumerationhandlers
Oct. 5, 2009
10:42 a.m.
"Andrey Turkin" <andrey.turkin(a)gmail.com> wrote:
This is what Windows do as described by AF in bug 10525 (I tested it and all 3 enumeration functions indeed do catch page faults and fail gracefully). Should fix bugs 10525 and 16320.
It would be better to use SEH only around the real callback call, and not around the whole API body. Adding 2 wrappers for calling the callbacks would simplify the code. And the tests wouldn't hurt. -- Dmitry.
6015
Age (days ago)
6015
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov