[PATCH 5/6] d3d8: Retrieve pixel shader constants from the primary stateblock.

Henri Verbeet hverbeet at gmail.com
Fri Feb 21 11:18:27 CST 2020


On Fri, 21 Feb 2020 at 05:57, Zebediah Figura <z.figura12 at gmail.com> wrote:
> +    if (!constants || start_idx >= WINED3D_MAX_PS_CONSTS_F || start_idx + count > WINED3D_MAX_PS_CONSTS_F)
> +        return WINED3DERR_INVALIDCALL;
"start_idx + count" can potentially overflow.



More information about the wine-devel mailing list