[Bug 2631] Trap in RegisterClassExA
Ann and Jason Edmeades
us at the-edmeades.demon.co.uk
Mon Feb 7 16:10:41 CST 2005
I'm taking a break from d3d stuff waiting on Olivers patches, and thought I
would take a look through the bug database to see what I can work through.
This bug is a trap in the IKEA Kitchen Planner at startup, and caused by it
passing in invalid parms to RegisterClassExA. I double checked on Windows
and the program passes in the same invalid values but doesn't trap, and
investigation shows that Windows ensures the bytes to reserve value is
positive. I added the same check into the W version as well.
Note that the IKEA Kitchen planner then gets further and dies in a different
way, but one step at a time...
Changelog
Validate the parms into RegisterClassExA and W
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2631.fix.patch
Type: application/octet-stream
Size: 888 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050207/95237020/2631.fix.obj
More information about the wine-patches
mailing list