================
@@ -1506,7 +1506,7 @@ void not_vulnerable(void) {
scanf("%zu", &size);
if (1024 < size)
return;
- int *p = malloc(size); // No warning expected as the the user input is bound
----------------
steakhal wrote:
In general, I think having the same word repeated is generally a good
heuristic: `( [w][^ ]*) \1`
https://github.com/llvm/llvm-project/pull/240115
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits