[PATCH] D71433: [analyzer] CERT: POS34-C

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 10:42:49 PST 2020


Charusso added a comment.

In D71433#1784238 <https://reviews.llvm.org/D71433#1784238>, @NoQ wrote:

> Currently the check may warn on non-bugs of the following kind:
>
>   void foo() {
>     char env[] = "NAME=value";
>     putenv(env);
>     doStuff();
>     putenv("NAME=anothervalue");
>   }
>


That could be the next round as a follow-up patch as the next semester starts in February after the 10.0.0 release-tag has been set, so both of the patches could land in LLVM 11. We have not seen any `putenv()` in the wild yet.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71433/new/

https://reviews.llvm.org/D71433





More information about the cfe-commits mailing list