Skip to content

Commit 6e8764d

Browse files
authored
Merge pull request github#2104 from Semmle/training-typo
Approved by jf205
2 parents 0e79d3d + 91d3389 commit 6e8764d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/language/ql-training/cpp/data-flow-cpp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Define a subclass of ``DataFlow::Node`` representing “source” nodes, that is
158158
Revisiting non-constant format strings
159159
======================================
160160

161-
Refine the query to find calls to ``printf``-like functions where the format argument derives from a local source that is, not a constant string.
161+
Refine the query to find calls to ``printf``-like functions where the format argument derives from a local source that is not a constant string.
162162

163163
.. rst-class:: build
164164

docs/language/ql-training/slide-snippets/local-data-flow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Data flow analysis
77

88
- Nodes of the data flow graph.
99

10-
- Various predicated represent flow between these nodes.
10+
- Various predicates represent flow between these nodes.
1111

1212
- Edges of the data flow graph.
1313

@@ -26,7 +26,7 @@ Data flow graphs
2626

2727
.. code-block:: cpp
2828
29-
int func(int, tainted) {
29+
int func(int tainted) {
3030
int x = tainted;
3131
if (someCondition) {
3232
int y = x;

0 commit comments

Comments
 (0)