diff options
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | t/cppcheck/cppcheck.supp | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index f068899fc..f5e406bef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -72,6 +72,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium - Clarify cppcheck va_list_usedBeforeStarted suppression. - Skip build directories from codespell check. - Update stopwords for codespell 1.16.0. + - Suppress new bogus cppcheck 1.89 false positives. [ Updated man pages translations ] * German (Helge Kreutzmann). Closes: #931135 diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp index d3030db34..8aa1de7ae 100644 --- a/t/cppcheck/cppcheck.supp +++ b/t/cppcheck/cppcheck.supp @@ -21,6 +21,12 @@ literalWithCharPtrCompare:lib/dpkg/t/t-test.c // Ignore, the code is used only for its binary artifacts. uninitMemberVar:*/Dpkg_Shlibs/patterns.cpp +// BUG: False positive, the variable uses operator() which writes to it. +constVariable:dselect/pkgsublist.cc:111 + +// BUG: False positive. +syntaxError:lib/dpkg/t/*.c + // BUG: False positive. knownConditionTrueFalse:src/depcon.c:585 knownConditionTrueFalse:src/depcon.c:668 @@ -37,6 +43,13 @@ unusedStructMember:lib/dpkg/triglib.c:378 // BUG: False positive, does not understand must-allocate functions. nullPointer:src/unpack.c:195 +// BUG: False positive, does not understand non-returning functions. +nullPointer:utils/start-stop-daemon.c:756 +nullPointer:utils/start-stop-daemon.c:758 + +// BUG: False positive, does not understand parser. +nullPointerArithmeticRedundantCheck:lib/dpkg/pkg-format.c:82 + // BUG: False positive, does not understand setjmp-style error handling. redundantAssignment:lib/compat/selinux.c:73 redundantAssignment:lib/dpkg/t/t-ehandle.c:108 |