[PATCH 2/5] d3d10: Implement D3D10StateBlockMaskDisableCapture().

Matteo Bruni matteo.mystral at gmail.com
Tue Nov 15 16:50:07 CST 2011


2011/11/15 Henri Verbeet <hverbeet at codeweavers.com>:
> ---

> +    UINT end = start_idx + count;

> +    start_idx += 7;
> +    memset(&field[start_idx >> 3], 0, (end >> 3) - (start_idx >> 3));

Isn't that dangerous if count is < 7 (assuming that is a valid value)?



More information about the wine-devel mailing list