Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst

Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2023-10-19 11:00:42 +02:00
committed by GitHub
parent b5cbd909f7
commit 4feda50add

View File

@@ -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.