mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update AccessOfMemoryLocationAfterEndOfBufferUsingStrlen.ql
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
import cpp
|
||||
import semmle.code.cpp.valuenumbering.GlobalValueNumbering
|
||||
|
||||
from FunctionCall fc, AssignExpr expr, ArrayExpr exprarr
|
||||
from StrlenCall fc, AssignExpr expr, ArrayExpr exprarr
|
||||
where
|
||||
exprarr = expr.getLValue() and
|
||||
expr.getRValue().getValue().toInt() = 0 and
|
||||
|
||||
Reference in New Issue
Block a user