Re: Rediffed patch from Rein Klazes:winex11.drv:Add pointer check in X11DRV_SetDIBits
Feb. 20, 2007
1:40 p.m.
Louis. Lenders wrote:
+ if( IsBadReadPtr( bits, nrsrcbytes)) return 0;
AFAIK you should never use that function since it introduces a race con. Try using an exception handler around the memory access itself. Felix
7019
Age (days ago)
7019
Last active (days ago)
0 comments
1 participants
participants (1)
-
Felix Nawothnig