Skip to content

Commit

Permalink
[clang] Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Aug 12, 2023
1 parent bcbffe4 commit c053345
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/docs/analyzer/checkers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2375,8 +2375,8 @@ The malicious data is injected at the taint source (e.g. ``getenv()`` call)
which is then propagated through function calls and being used as arguments of
sensitive operations, also called as taint sinks (e.g. ``system()`` call).
One can defend agains this type of vulnerability by always checking and
santizing the potentially malicious, untrusted user input.
One can defend against this type of vulnerability by always checking and
sanitizing the potentially malicious, untrusted user input.
The goal of the checker is to discover and show to the user these potential
taint source-sink pairs and the propagation call chain.
Expand Down Expand Up @@ -2438,7 +2438,7 @@ Unfortunately, the checker cannot discover automatically that the programmer
have performed data sanitation, so it still emits the warning.
One can get rid of this superflous warning by telling by specifying the
sanitation functions in the taint configuation file (see
sanitation functions in the taint configuration file (see
:doc:`user-docs/TaintAnalysisConfiguration`).
.. code-block:: YAML
Expand Down

0 comments on commit c053345

Please sign in to comment.