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

Skip to content

Commit 636fe73

Browse files
authored
Update AccessOfMemoryLocationAfterEndOfBufferUsingStrlen.ql
1 parent fc9d219 commit 636fe73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/experimental/Security/CWE/CWE-788/AccessOfMemoryLocationAfterEndOfBufferUsingStrlen.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import cpp
1515
import semmle.code.cpp.valuenumbering.GlobalValueNumbering
1616

17-
from FunctionCall fc, AssignExpr expr, ArrayExpr exprarr
17+
from StrlenCall fc, AssignExpr expr, ArrayExpr exprarr
1818
where
1919
exprarr = expr.getLValue() and
2020
expr.getRValue().getValue().toInt() = 0 and

0 commit comments

Comments
 (0)