Author: janderwald
Date: Fri Oct 30 19:51:40 2009
New Revision: 43853
URL:
http://svn.reactos.org/svn/reactos?rev=43853&view=rev
Log:
- Check Input Parameter (fixes a skype crash)
Modified:
trunk/reactos/dll/win32/advapi32/sec/ac.c
Modified: trunk/reactos/dll/win32/advapi32/sec/ac.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/ac.…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/sec/ac.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/sec/ac.c [iso-8859-1] Fri Oct 30 19:51:40 2009
@@ -580,6 +580,11 @@
PACL *NewAcl)
{
DWORD ErrorCode;
+
+ if (!NewAcl)
+ {
+ return ERROR_INVALID_PARAMETER;
+ }
ErrorCode = CheckNtMartaPresent();
if (ErrorCode == ERROR_SUCCESS)