Skip to content

Commit 862ebef

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/src/Likely Bugs/Memory Management/UsingExpiredStackAddress.ql
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent dda85bf commit 862ebef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ where
219219
// We know that we have a sequence:
220220
// (1) store to `address` -> (2) return from `f` -> (3) load from `address`.
221221
// But if (2) and (3) happen in the sam block we need to check the
222-
// block indices to nsure that (3) happens after (2).
222+
// block indices to ensure that (3) happens after (2).
223223
if isCallBlock = true
224224
then
225225
// If so, the load must happen after the call.

0 commit comments

Comments
 (0)