Skip to content

Commit c053345

Browse files
[clang] Fix typos in documentation
1 parent bcbffe4 commit c053345

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/docs/analyzer/checkers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2375,8 +2375,8 @@ The malicious data is injected at the taint source (e.g. ``getenv()`` call)
23752375
which is then propagated through function calls and being used as arguments of
23762376
sensitive operations, also called as taint sinks (e.g. ``system()`` call).
23772377
2378-
One can defend agains this type of vulnerability by always checking and
2379-
santizing the potentially malicious, untrusted user input.
2378+
One can defend against this type of vulnerability by always checking and
2379+
sanitizing the potentially malicious, untrusted user input.
23802380
23812381
The goal of the checker is to discover and show to the user these potential
23822382
taint source-sink pairs and the propagation call chain.
@@ -2438,7 +2438,7 @@ Unfortunately, the checker cannot discover automatically that the programmer
24382438
have performed data sanitation, so it still emits the warning.
24392439
24402440
One can get rid of this superflous warning by telling by specifying the
2441-
sanitation functions in the taint configuation file (see
2441+
sanitation functions in the taint configuration file (see
24422442
:doc:`user-docs/TaintAnalysisConfiguration`).
24432443
24442444
.. code-block:: YAML

0 commit comments

Comments
 (0)