Skip to content

Commit 98af52f

Browse files
authored
Update DangerousUseMbtowc.ql
1 parent 1291f33 commit 98af52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-125/DangerousUseMbtowc.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ where
234234
findUseMultibyteCharacter(exp, msg) or
235235
findUseStringConversion(exp, msg, 1, 0, 2, ["mbstowcs", "_mbstowcs_l", "mbsrtowcs"]) or
236236
findUseStringConversion(exp, msg, 2, 4, 5, ["MultiByteToWideChar", "WideCharToMultiByte"])
237-
select exp, msg + exp.getEnclosingFunction().getName()
237+
select exp, msg

0 commit comments

Comments
 (0)