[7/10] WineD3D: No bounds checking is done on sampler / texture numbers

Stefan Dösinger stefandoesinger at gmx.at
Tue Feb 20 04:55:06 CST 2007


Am Montag 19 Februar 2007 16:19 schrieb H. Verbeet:
> On 19/02/07, Stefan Dösinger <stefan at codeweavers.com> wrote:
> >-    if(Sampler >  GL_LIMITS(sampler_stages) || Sampler < 0 || Type >
>
> WINED3D_HIGHEST_SAMPLER_STATE || Type < 0) {
>
> This also checked the sampler state, not just the sampler.
True. I'll extend the test for that and send an updated patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070220/d2e7d8e5/attachment.pgp


More information about the wine-devel mailing list