Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd5e788

Browse files
Update UnsafeCreateProcessCall.ql
1 parent 1d85369 commit cd5e788

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/ql/src/Security/CWE/CWE-428/UnsafeCreateProcessCall.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @name NULL application name with an unquoted path in call to CreateProcess
3-
* @description Calling a function of the CreatePorcess* family of functions, which may result in a security vulnerability if the path contains spaces.
3+
* @description Calling a function of the CreateProcess* family of functions, which may result in a security vulnerability if the path contains spaces.
44
* @id cpp/unsafe-create-process-call
55
* @kind problem
66
* @problem.severity error
@@ -132,4 +132,4 @@ where
132132
and quotedConfig.hasFlow(DataFlow2::exprNode(source), DataFlow2::exprNode(cmd))
133133
and msg2 = " and with an unquoted lpCommandLine (" + cmd + ") may result in a security vulnerability if the path contains spaces."
134134
)
135-
select call, msg1 + " " + msg2
135+
select call, msg1 + " " + msg2

0 commit comments

Comments
 (0)