From ed7a648d6e717679a196f72904d9df2db1916ed50e5369810292cc124276a5b7 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 4 Mar 2020 12:06:10 +0000 Subject: [PATCH] Accepting request 781469 from home:dalgaaf:branches:devel:tools - Update to version 1.90 * alias to vector element invalid after vector is changed * improved value flow analysis for struct members * improved value flow analysis for pointer alias * CERT: Added ENV33-C: Do not call system() * MISRA: added rules 2.7, 3.2, 4.2, 14.2, 21.1, 21.12 - update to version 1.89 * The default warning message format was changed. The new format is similar to GCC. If you want to get warnings in the old format, add --template=cppcheck1 to the command line. * improved value flow analysis for pointer aliases * improved checking for uninitialized variables/structs * better checking of smart pointers * better checking of global variables * Added Cppcheck annotations cppcheck_low(VALUE) and cppcheck_high(VALUE) * shadow variables; warn when argument is shadowed * warn if local reference variable can be const * Added API01-C: Avoid laying out strings in memory directly before sensitive data * Added MSC24-C: Do not use deprecated or obsolescent functions * Added STR11-C: Do not specify the bound of a character array initialized with a string literal * MISRA: added rules 17.2, 18.4, 18.7 OBS-URL: https://build.opensuse.org/request/show/781469 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=64 --- cppcheck-1.88.tar.bz2 | 3 --- cppcheck-1.90.tar.bz2 | 3 +++ cppcheck.changes | 29 +++++++++++++++++++++++++++++ cppcheck.spec | 4 ++-- 4 files changed, 34 insertions(+), 5 deletions(-) delete mode 100644 cppcheck-1.88.tar.bz2 create mode 100644 cppcheck-1.90.tar.bz2 diff --git a/cppcheck-1.88.tar.bz2 b/cppcheck-1.88.tar.bz2 deleted file mode 100644 index 28a9663..0000000 --- a/cppcheck-1.88.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb25441749977713476dc630dfe7617b3d9e95c46fec0edbec4ff8ff6fda38ca -size 1865568 diff --git a/cppcheck-1.90.tar.bz2 b/cppcheck-1.90.tar.bz2 new file mode 100644 index 0000000..7d4789c --- /dev/null +++ b/cppcheck-1.90.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c362c891b6653931a49b046b71035e3185688461cfd0a266dfd606ab46f7937e +size 2033302 diff --git a/cppcheck.changes b/cppcheck.changes index a89260e..2671966 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Mar 4 11:32:52 UTC 2020 - Danny Al-Gaaf + +- Update to version 1.90 + * alias to vector element invalid after vector is changed + * improved value flow analysis for struct members + * improved value flow analysis for pointer alias + * CERT: Added ENV33-C: Do not call system() + * MISRA: added rules 2.7, 3.2, 4.2, 14.2, 21.1, 21.12 + +- update to version 1.89 + * The default warning message format was changed. The new format + is similar to GCC. If you want to get warnings in the old + format, add --template=cppcheck1 to the command line. + * improved value flow analysis for pointer aliases + * improved checking for uninitialized variables/structs + * better checking of smart pointers + * better checking of global variables + * Added Cppcheck annotations cppcheck_low(VALUE) and + cppcheck_high(VALUE) + * shadow variables; warn when argument is shadowed + * warn if local reference variable can be const + * Added API01-C: Avoid laying out strings in memory directly + before sensitive data + * Added MSC24-C: Do not use deprecated or obsolescent functions + * Added STR11-C: Do not specify the bound of a character array + initialized with a string literal + * MISRA: added rules 17.2, 18.4, 18.7 + ------------------------------------------------------------------- Mon Jul 1 08:22:46 UTC 2019 - Martin Liška diff --git a/cppcheck.spec b/cppcheck.spec index 05dddcb..ad5ffa8 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -1,7 +1,7 @@ # # spec file for package cppcheck # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cppcheck -Version: 1.88 +Version: 1.90 Release: 0 Summary: A tool for static C/C++ code analysis License: GPL-3.0-or-later