Skip to content
Snippets Groups Projects
Commit 76eebe64 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

Test pointers passed to copyrect for NULL.

parent b7bb42d9
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,8 @@ BOOL16 WINAPI CopyRect16( RECT16 *dest, const RECT16 *src )
*/
BOOL WINAPI CopyRect( RECT *dest, const RECT *src )
{
if (!dest || !src)
return FALSE;
*dest = *src;
return TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment