| 1 |
.. title:: clang-tidy - cert-env33-c |
| 2 |
|
| 3 |
cert-env33-c |
| 4 |
============ |
| 5 |
|
| 6 |
This check flags calls to ``system()``, ``popen()``, and ``_popen()``, which |
| 7 |
execute a command processor. It does not flag calls to ``system()`` with a null |
| 8 |
pointer argument, as such a call checks for the presence of a command processor |
| 9 |
but does not actually attempt to execute a command. |
| 10 |
|
| 11 |
This check corresponds to the CERT C Coding Standard rule |
| 12 |
`ENV33-C. Do not call system() |
| 13 |
<https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=2130132>`_. |