Commits

Brian Curtin committed e50da14

If there's no cmdline, forget it (from PREFAST)

  • Participants
  • Parent commits 34744ef

Comments (0)

Files changed (1)

Associator/main.c

         fopen_s(&log_fp, "c:\\temp\\associator.log", "w");
     }
 
+    if (!lpCmdLine)
+        return 0;
+
     if (!wcsstr(lpCmdLine, L"nocheck") &&
         associations_exist())   /* Could have been restored by uninstall. */
         return 0;