Re: ddraw: Better validation of IDirectDrawSurface::BltFast parameters.
18 Jun
2010
18 Jun
'10
2:06 p.m.
On 18 June 2010 15:52, Iain Arnell <iarnell(a)gmail.com> wrote:
- dsty + rsrc->bottom - rsrc->top > This->surface_desc.dwHeight) + dsty + rsrc->bottom - rsrc->top > This->surface_desc.dwHeight || + (dstx | dsty) & (1<<(sizeof(DWORD)*8-1)) /* dstx or dsty negative */ ) That's not very pretty. This looks like it's just an integer overflow, so that's probably also how you should handle it.
5660
Age (days ago)
5660
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet