Merge pull request #2655 from Semmle/jbj-patch-1

C++: Fix typo in MallocSizeExpr
This commit is contained in:
Geoffrey White
2020-01-21 09:44:41 +00:00
committed by GitHub

View File

@@ -122,7 +122,7 @@ class MallocSizeExpr extends BufferAccess, FunctionCall {
override Expr getPointer() { none() }
override Expr getAccessedLength() { result = getArgument(1) }
override Expr getAccessedLength() { result = getArgument(0) }
}
class NetworkFunctionCall extends FunctionCall {