[PATCH] check for array index overflows

H. Verbeet hverbeet at gmail.com
Mon Jan 14 16:57:39 CST 2008


On 14/01/2008, Marcus Meissner <marcus at jet.franken.de> wrote:
> Hi,
>
> This checks for overflowing the fixed size arrays.
>
> spotted by Coverity.
>
> (Submitted some months ago already, but left in my queue.)
>
> Ciao, Marcus
> ---
IIRC last time we tested this it was allowed on Windows, and simply
causes memory corruption.
If we want to prevent this, we should probably just return WINED3D_OK.



More information about the wine-patches mailing list