mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
committed by
GitHub
parent
b5cbd909f7
commit
4feda50add
@@ -404,7 +404,7 @@ To set the stage, consider the following scenario:
|
||||
free(b.a);
|
||||
}
|
||||
|
||||
What happens here is the following:
|
||||
In this example, the data flows as follows:
|
||||
|
||||
1. We write a user-controlled value into the object ``b`` at the access path ``[a, x]``.
|
||||
2. Afterwards, ``b`` is passed to ``read_data`` which we don't have the definition of in the database.
|
||||
|
||||
Reference in New Issue
Block a user