[ros-dev] [ros-diffs] [jimtabor] 44902: [Win32k] - Patch by Dan Kegel: Fix minor read buffer overrun in CombineRgn. http://bugs.winehq.org/show_bug.cgi?id=20851 - When locking and unlocking regions, use probe to check attribute space first before read or write access.

Timo Kreuzer timo.kreuzer at web.de
Sun Jan 3 10:26:55 CET 2010


Why the KeEnterCriticalRegion?

jimtabor at svn.reactos.org wrote:
> -             if (pAttr) FreeObjectAttr(pAttr);
> +             if (pAttr)
> +             {
> +                KeEnterCriticalRegion();
> +                FreeObjectAttr(pAttr);
> +                KeLeaveCriticalRegion();
> +             }
>               break;
>   




More information about the Ros-dev mailing list