[clang] [analyzer] Removing untrusted buffer size taint warning (PR #68607)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 28 06:40:54 PST 2024
================
@@ -95,22 +94,23 @@ void testReadStdIn(){
}
void multipleTaintSources(void) {
- int x,y,z;
- scanf("%d", &x); // expected-note {{Taint originated here}}
+ char cmd[2048],file[1024];
----------------
NagyDonat wrote:
Bikeshedding: please add a space after the comma (here and elsewhere).
https://github.com/llvm/llvm-project/pull/68607
More information about the cfe-commits
mailing list