Skip to content

Commit 7a5698c

Browse files
authored
Remove undefined quotes
Simplify. Update date. Remove quotes from fully qualified, since we don't define it.
1 parent b6b5ce9 commit 7a5698c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/code-quality/c6277.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: C6277"
33
title: C6277
4-
ms.date: 08/16/2022
4+
ms.date: 09/28/2022
55
ms.topic: reference
66
f1_keywords: ["C6277", "CREATEPROCESS_ESCAPE", "__WARNING_CREATEPROCESS_ESCAPE"]
77
helpviewer_keywords: ["C6277"]
@@ -15,13 +15,13 @@ This warning indicates that the application name parameter is null and that ther
1515

1616
## Remarks
1717

18-
Unless the executable name is "fully qualified," there's likely to be a security problem. A malicious user could insert a rogue executable with the same name earlier in the path. To correct this warning, you can specify the application name instead of passing null. Alternatively, if you do pass null for the application name, use quotation marks around the executable path.
18+
Unless the executable name is fully qualified, there's likely to be a security problem. A malicious user could insert a rogue executable with the same name earlier in the path. To correct this warning, you can specify the application name instead of passing null. Alternatively, if you do pass null for the application name, use quotation marks around the executable path.
1919

2020
Code analysis name: CREATEPROCESS_ESCAPE
2121

2222
## Example
2323

24-
The following sample code generates this warning. This issue stems from the NULL application name and from the executable path name having a space. Due to how the function parses spaces, there's a risk that a different executable could be run. For more information, see [CreateProcessA function (processthreadsapi.h)](/windows/desktop/api/processthreadsapi/nf-processthreadsapi-createprocessa).
24+
The following sample code generates warning C6277. The warning is caused by the NULL application name and from the executable path name having a space. Due to how the function parses spaces, there's a risk that a different executable could be run. For more information, see [`CreateProcessA`](/windows/desktop/api/processthreadsapi/nf-processthreadsapi-createprocessa).
2525

2626
```cpp
2727
#include <windows.h>

0 commit comments

Comments
 (0)