Skip to content

Commit 401b564

Browse files
committed
C++: Fix typo in ReturnStackAllocatedMemory.ql
1 parent 241994d commit 401b564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Likely Bugs/Memory Management/ReturnStackAllocatedMemory.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ where
5656
or
5757
// The data flow library doesn't support conversions, so here we check that
5858
// the address escapes into some expression `pointerToLocal`, which flows
59-
// in a one or more steps to a returned expression.
59+
// in one or more steps to a returned expression.
6060
exists(Expr pointerToLocal |
6161
variableAddressEscapesTree(va, pointerToLocal.getFullyConverted()) and
6262
not hasNontrivialConversion(pointerToLocal) and

0 commit comments

Comments
 (0)