PLT pointer destroyed problem when loading IR32_32.DLL (Indeo codec)

Christian Costa titan.costa at wanadoo.fr
Thu Mar 18 02:58:12 CST 2004







> Message du 18/03/04 01:02
> De : Alexandre Julliard 
> A : Christian Costa 
> Copie à : wined 
> Objet : Re: PLT pointer destroyed problem when loading IR32_32.DLL (Indeo codec)
> Christian Costa writes:
> 
> > When executing the DllMain of the native IR32_32.DLL (VFW), Wine crashes.
> > After some investigations, I found that a part of the code uses the
> > EBX register at one point without saving
> > and restore it afterwards. Since this register contains the PLT
> > pointer for standard unix functions like libc ones, this
> > does not take a long time for Wine to crashing.
> 
> Is the dll really modifying ebx explicitly? Isn't it rather a
> consequence of a stack overflow or some similar bug?
Yes, ebx is modified explicity and not poped from the stack.
There is no save/restore statements.
Bye,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20040318/864db6f9/attachment.html


More information about the wine-devel mailing list