kernel32: catch invalid memory accesses in resource enumeration handlers

Andrey Turkin andrey.turkin at gmail.com
Mon Oct 5 07:17:56 CDT 2009


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.
---
  dlls/kernel32/resource.c |  119 ++++++++++++++++++++++++++++++----------------
  1 files changed, 78 insertions(+), 41 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-catch-invalid-memory-accesses-in-resource-e.patch
Type: text/x-patch
Size: 6852 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091005/a0afceca/attachment-0001.bin>


More information about the wine-patches mailing list