Skip to content

Commit 0729c60

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 6f5ed9a commit 0729c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ private predicate isInputOutput(
12061206
* ```
12071207
* does not preserve the identity of `*p`.
12081208
*
1209-
* Similarly, functions that copy the contents of a string into a new location
1209+
* Similarly, a function that copies the contents of a string into a new location
12101210
* does not also preserve the identity. For example, `strdup(p)` does not
12111211
* preserve the identity of `*p` (since it allocates new storage and copies
12121212
* the string into the new storage).

0 commit comments

Comments
 (0)