PATCH: GlobalAddAtomA check for invalid ptr

Andreas Mohr andi at rhlx01.fht-esslingen.de
Tue Aug 9 04:44:54 CDT 2005


Hi,

On Tue, Aug 09, 2005 at 12:13:22PM +0300, Saulius Krasuckas wrote:
> * On Tue, 9 Aug 2005, Marcus Meissner wrote:
> > 
> > The Ikea kitchen planner passed 0xcccccccc for some reason and works 
> > much better after this patch.
> 
> It if uninitialized memory in a case of MSVC and MSVCRTD, I guess.  
> BUUUUG in the app. :-)

Yup, and AFAIR this gets initialized with 0x0c since that is a breakpoint
instruction. But you possibly knew that already...

And who says that it's an application bug?
It may just as well be something triggered by some unusual behaviour of Wine.
But then it might still be an application bug in that strangely triggered
code path after all...

Andreas



More information about the wine-devel mailing list