diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2023-01-05 22:06:50 -0800 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2023-01-05 22:59:07 -0800 |
commit | 34aa2e24c89ae39c0db4254d8aafcae0285dbe34 (patch) | |
tree | 0b44df03cab7142010f749f0d8f6db3f2b9137f2 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | a698790c51ec2804c3a7ba4c59438e7816690ea2 (diff) | |
download | llvm-34aa2e24c89ae39c0db4254d8aafcae0285dbe34.zip llvm-34aa2e24c89ae39c0db4254d8aafcae0285dbe34.tar.gz llvm-34aa2e24c89ae39c0db4254d8aafcae0285dbe34.tar.bz2 |
Save the result of getenv() to a string
The result has to be saved to a string as the result might be
overwritten by subsequent calls to getenv.
https://pubs.opengroup.org/onlinepubs/009696899/functions/getenv.html
See the discussion here: https://reviews.llvm.org/D137996#4029305
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions