Page MenuHomePhabricator

D9612.diff
No OneTemporary

D9612.diff

diff --git a/arcanist/linter/CppCheckLinter.php b/arcanist/linter/CppCheckLinter.php
--- a/arcanist/linter/CppCheckLinter.php
+++ b/arcanist/linter/CppCheckLinter.php
@@ -113,6 +113,11 @@
"src/support/allocators/zeroafterfree.h" => array(
"Struct 'zero_after_free_allocator < char >' has a constructor with 1 argument that is not explicit.",
),
+ "src/test/blockindex_tests.cpp" => array(
+ // This is a false positive, the array is list initialized
+ "Out of bounds access in 'times[i]', if 'times' size is 1 and 'i' is 11",
+ "Out of bounds access in 'times2[i]', if 'times2' size is 1 and 'i' is 11",
+ ),
"src/test/checkqueue_tests.cpp" => array(
"Struct 'FailingCheck' has a constructor with 1 argument that is not explicit.",
"Struct 'MemoryCheck' has a constructor with 1 argument that is not explicit.",

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 09:50 (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187251
Default Alt Text
D9612.diff (876 B)

Event Timeline