[clang] [clang][analyzer] Move checker alpha.security.cert.pos.34c into security.PutenvWithAuto (PR #92424)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Fri May 17 05:29:44 PDT 2024


================
@@ -1179,6 +1179,54 @@ security.insecureAPI.DeprecatedOrUnsafeBufferHandling (C)
    strncpy(buf, "a", 1); // warn
  }
 
+.. _security-putenv-with-auto:
+
+security.PutenvWithAuto
+"""""""""""""""""""""""
+Finds calls to the ``putenv`` function which pass a pointer to an automatic variable as the argument.
----------------
NagyDonat wrote:

```suggestion
Finds calls to the function ``putenv`` which pass a pointer to an automatic variable as the argument.
```

https://github.com/llvm/llvm-project/pull/92424


More information about the cfe-commits mailing list