Re: [PATCH 2/5] d3d10: Implement D3D10StateBlockMaskDisableCapture().
15 Nov
2011
15 Nov
'11
10:50 p.m.
2011/11/15 Henri Verbeet <hverbeet(a)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)?
5144
Age (days ago)
5144
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni