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

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2024-02-02 10:39:40 +00:00
committed by GitHub
parent 6f5ed9ad3b
commit 0729c602c5

View File

@@ -1206,7 +1206,7 @@ private predicate isInputOutput(
* ```
* does not preserve the identity of `*p`.
*
* Similarly, functions that copy the contents of a string into a new location
* Similarly, a function that copies the contents of a string into a new location
* does not also preserve the identity. For example, `strdup(p)` does not
* preserve the identity of `*p` (since it allocates new storage and copies
* the string into the new storage).