Commit ef3d022c authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Check for NULL path argument in DeleteFile.

parent 04f90ca7
......@@ -1934,6 +1934,11 @@ BOOL WINAPI DeleteFileA( LPCSTR path )
{
DOS_FULL_NAME full_name;
if (!path)
{
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
TRACE("'%s'\n", path );
if (!*path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment