Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115113
D9612.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
876 B
Subscribers
None
D9612.diff
View Options
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
Details
Attached
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)
Attached To
D9612: [LINTER] Exclude a cppcheck false positive
Event Timeline
Log In to Comment