WineD3D: RemoveContextFromArray fix (fixes bug 12924)

Roderick Colenbrander thunderbird2k at gmx.net
Sat May 3 13:23:17 CDT 2008


Hi,

RemoveContextFromArray forgot to check the last element in the array. This led to memory corruption (bug 12924) where wined3d started removing a pbuffer where none was created at all. This patch fixes it. The original bug was spotted by Peter Oberndorfer and for him a similar fixed some other program not sure which.

Regards,
Roderick Colenbrander
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-At-the-start-of-RemoveContextFromArray-numContexts-i.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080503/34f6b096/attachment.bin 


More information about the wine-patches mailing list