1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Timeline


and .

05/19/13: Yesterday

09:37 Ticket #4808 (false positive Dereferencing 'var' after it is deallocated) created by serval2412
Hello, With cppcheck git updated today, I noticed a false positive in the …

05/18/13:

18:06 Ticket #4807 (Infinite loops in TemplateSimplifier::simplifyTemplates() (test code from ...) created by amai
The two referenced examples from clang show inifinite loops within …
17:35 Ticket #4806 (Crash in Type::initBaseInfo() in clang testcode) created by amai
The attached test code from clang triggers a segfault in …
17:30 Ticket #4805 (False positive: constStatement within unknown template) created by amai
The following false positive Redundant code: Found a statement that …
16:34 Ticket #4789 (uninitMemberVar not found when constructor contains default parameters) closed by danielmarjamaki
fixed: Thanks! I applied 4789.diff with: …
16:20 Ticket #4804 (New check for std::string::data() (identical to std::string::c_str())) created by lucasmrod
Hi there, std::string has a method called data() which is similar to …

05/17/13:

13:03 Ticket #4802 (False positive Assignment of function parameter has no effect outside the ...) closed by serval2412
invalid: amaigil2: you're completely right. Sorry for the noise.
08:10 Ticket #4803 (create warning when reference is unnecessarily copied) created by dpinol
It would be nice if cppcheck could display a performance warning when an …

05/16/13:

20:18 Ticket #4802 (False positive Assignment of function parameter has no effect outside the ...) created by serval2412
Hello, In the file attached, I've got this false positive: …
15:27 Ticket #4801 (Cppcheck fails to parse Posix (crash in ...) created by ocallesp
O.S: MS Windows 7 - 64 bit - Service Pack 1 cppCheck 1.59 for Windows 1- …

05/15/13:

16:50 Ticket #4797 (matchcompiler.py cannot handle overloaded findsimplematch and findmatch) closed by zingsheim
fixed: Committed MatchCompiler?_v2: …
16:00 Ticket #4799 (Segmentation fault in K&R simplification inside lambda expression) closed by zingsheim
fixed: I forgot to set it to fixed.
11:27 Ticket #4798 (Token::Match(tok, "&|*|%var%") behaves differently when parsed or compiled) closed by danielmarjamaki
fixed: I fixed this with: …

05/14/13:

16:01 Ticket #4800 (Check unhandled exceptions) created by burmagroup
if a method calls another method with an exception in its throw signature, …
09:07 Ticket #4790 (False positive: wrongPrintfScanfArgNum) closed by pkeus
fixed: Fixed by: …
08:44 Ticket #4732 (segmentation fault with cpp0x code from gcc-testsuite) closed by pkeus
fixed: Fixed by: …
07:44 Ticket #4799 (Segmentation fault in K&R simplification inside lambda expression) created by thomaswidmaier
Getting Segfault since 12.5. (#4187) with this (stripped down) code: …

05/13/13:

19:10 Ticket #4798 (Token::Match(tok, "&|*|%var%") behaves differently when parsed or compiled) created by zingsheim
The parsed version gives on the token "a" which is a variable "false" as …

05/12/13:

17:13 Ticket #4797 (matchcompiler.py cannot handle overloaded findsimplematch and findmatch) created by zingsheim
With the following commit overloaded versions of Token::findsimplematch …

05/11/13:

16:22 Ticket #4796 (Missing semicolon after simplified template class) created by zingsheim
As it can be seen for example in testSimplifyTokens.cpp at template2() the …
16:09 Ticket #4508 (False positive - multiple return in lambda method) closed by zingsheim
duplicate: Duplicate of #4711
15:59 Ticket #4711 (false positive: Consecutive return...) closed by zingsheim
fixed: Fixed by: …

05/10/13:

12:37 Ticket #4795 (check printf format args size) created by dpinol
This ticket is similar to #4794. It would be nice if cppcheck could …
12:33 Ticket #4794 (check type limits) created by dpinol
It would be nice if cppcheck could complain "i" can never be equal to …
12:04 Ticket #4793 (Assignment of function parameter has no effect outside the function with ...) created by dpinol
With the code below, += is correctly detected as an assigment, but it does …
09:50 Ticket #4792 (Uninitialised member variable is not detected when using namespace is used) created by danio
The following code does not detect the uninitialise member variable …
05:59 Ticket #4791 (False negative: uninitialized nested struct not detected) created by danielmarjamaki
Example code: […] No error is reported. Note: I found this with …

05/09/13:

17:23 Ticket #4725 (Tokenizer: Replace block declaration (^{}) with asm()) closed by danielmarjamaki
fixed
16:52 Ticket #4520 (segmentation fault of cppcheck (preprocessing)) closed by danielmarjamaki
fixed: Fixed by: …
13:17 Ticket #4604 (Undetected reassignment of variable) closed by pkeus
fixed: Fixed by: …

05/08/13:

20:43 Ticket #4790 (False positive: wrongPrintfScanfArgNum) created by renevanengelen
CppCheck? (1.59) reports a false positive wrongPrintfScanfArgNum upon …

05/07/13:

19:43 Ticket #4775 (Check for assert() with side effects) closed by laena
fixed
17:20 Ticket #4786 (segfault with one LibreOffice file) closed by danielmarjamaki
fixed: Fixed by: …
11:52 Ticket #4789 (uninitMemberVar not found when constructor contains default parameters) created by renevanengelen
when a class's non-standard constructor contains a parameter with a …

05/06/13:

16:54 Ticket #4773 (Regression: wrong detection of unitialized variable) closed by zingsheim
fixed: Replying to danielmarjamaki: > The conditions at lines 1289 …
07:12 Ticket #4788 (False Positive: BOOST_FOREACH caches the end() iterator) created by aziel
The current cppcheck version produces a false positive, if an erase is …
06:55 Ticket #4787 (False Positive: Unused function) created by aziel
The code to check whether private methods are used does not check for the …

05/05/13:

14:55 Ticket #4786 (segfault with one LibreOffice file) created by serval2412
Hello, On pc Debian x86-64 with cppcheck git updated today, I had a …

05/04/13:

10:14 Ticket #4785 (Improve check: returning pointer to local array) created by danielmarjamaki
We warn about this code: […] The warning is: […] But there is no …
07:16 Ticket #4784 (Improve check: Uninitialized variable not detected (switch)) created by danielmarjamaki
Test case from clang: […] No error is reported by Cppcheck
07:14 Ticket #4783 (Improve check: Uninitialized variable not detected (maybe() && (x=1))) created by danielmarjamaki
Test case from clang (rewritten a little): […] No warning is reported.
07:08 Ticket #4782 (Improve check: Uninitialized variable not detected after conditional ...) created by danielmarjamaki
This is a test case from clang: […] Cppcheck doesn't report any error …
06:59 Ticket #4781 (False negative: Uninitialized variable (initialization in do while loop)) created by danielmarjamaki
This is a test case from clang: […] We don't detect this. However we …
06:43 Ticket #4780 (Tokenizer::simplifyKnownVariables: pointer in condition) created by danielmarjamaki
It seems pointers in conditions are not simplified. Example code: […] …

05/03/13:

19:35 Ticket #4388 (false positive 'noConstructor' in 1.57) closed by amai
fixed: Actually the fix went in for 1.59 already.
14:20 Ticket #4734 (False "Possible null pointer dereference") closed by danielmarjamaki
fixed: Fixed by: …
08:29 Ticket #4779 (unusedScopedObject does not work for classes in different namespace) created by dpinol
Cppcheck does not complain of unusedScopedObject in the code below. […] …
05:04 Ticket #4554 (false negative: buffer access out of bounds) closed by zacblair
fixed: I see now that recent changes warn about unsimplified code in tests, so I …

05/02/13:

18:37 Ticket #4760 (false negative: (error) usage of uninitialized variable (struct member)) closed by danielmarjamaki
fixed: Fixed by: …
18:37 Ticket #4778 (FP: Uninitialized variable: av) created by aggro80
[…] […] From: …
18:31 Ticket #4777 (FP: Variable 'b' is assigned a value that is never used, with typedef) created by aggro80
[…] […] From: …
18:23 Ticket #4776 (FP: Assignment of function parameter has no effect outside the function, ...) created by aggro80
[…] […] From: …
18:03 Ticket #4775 (Check for assert() with side effects) created by laena
[…] Here the programmer probably relies on side effects of the assert …
14:08 Ticket #4772 (<iostream> not found) closed by amaigil2
invalid
11:59 Ticket #4774 (inline suppressions with additional filter) created by alienpaul
The following code generates two uninitMemberVar warnings. […] I only …
07:41 Ticket #4773 (Regression: wrong detection of unitialized variable) created by jeanfi
To reproduce, run cppcheck against the attached simple code. cppcheck …

05/01/13:

20:22 Ticket #4772 (<iostream> not found) created by lucasmrod
Hi there!, Let me show the simple situation I'm facing with cppcheck: …
17:00 Ticket #3990 (Tokenizer::setVarId: function parameter not recognized as a reference ...) closed by amai
fixed: Test case was added …
16:52 Ticket #4684 (cppcheck crash in template function call.) closed by amai
fixed: Closed as of …
16:44 Ticket #4766 (Strange warning with latest version) closed by chehrlic
invalid: Ok, the solution with '-D' works fine is is more or less what I want. …
11:53 Ticket #4737 (False positive: Uninitialized variable ...) closed by danielmarjamaki
fixed: Fixed by: …
11:45 Ticket #4771 (New Check : misuse of const_cast) created by tehuser
as a relatively infrequently used language feature, const_cast can be …
11:34 Ticket #4767 (segmentation fault in expand template 1.59) closed by zingsheim
fixed: Fixed by: …
09:13 Ticket #4390 (False alarm "Object pointed by an 'auto_ptr' is destroyed using operator ...) closed by danielmarjamaki
fixed: Fixed by: …
07:10 Ticket #4770 (Leaks with struct members not detected (user allocation function)) created by danielmarjamaki
Now that #933 is fixed we can make the checking more intelligent. No …

04/30/13:

19:54 Ticket #4769 (No check when multiple folders are selected to scan) closed by amai
duplicate: Me, too. See #4606.
16:11 Ticket #4769 (No check when multiple folders are selected to scan) created by o_barthelemy
On the 1.59 gui version on windows, if i select two folders in the open …
14:59 Ticket #4455 (redundantCopy when precleaning with memset) closed by danielmarjamaki
fixed: The fix was improved with: …
05:29 Ticket #4455 (redundantCopy when precleaning with memset) reopened by danielmarjamaki
I'll try to tweak my fix to reduce false negatives. A warning would for …
04:44 Ticket #4455 (redundantCopy when precleaning with memset) closed by danielmarjamaki
fixed: Fixed by: …

04/29/13:

07:44 Ticket #4768 (incorrect exit status with multiple jobs in 1.59) created by daveohlsson
I use Cppcheck 1.59 on RedHat? Linux 2.6. Using the same Foo.cpp as in …
07:06 Ticket #4767 (segmentation fault in expand template 1.59) created by daveohlsson
I use Cppcheck 1.59 on RedHat? Linux 2.6. File Foo.cpp: […] is legal …

04/28/13:

18:58 Ticket #4766 (Strange warning with latest version) created by chehrlic
Since my last git pull I get a lot of warnings like this: Summary: The …
07:45 Ticket #4765 (False positive: uninitialized variable in lambda function used as ...) closed by tristanvincent
invalid: I realized today I was mistakenly using an older version of cppcheck, with …

04/26/13:

14:16 Ticket #933 (Leaks with struct members not detected) closed by danielmarjamaki
fixed: I applied your patch with: …
08:28 Ticket #4765 (False positive: uninitialized variable in lambda function used as ...) created by tristanvincent
I have this somewhat particular configuration that gives me a …

04/25/13:

21:33 Ticket #4764 ((error) Internal error. Token::Match called with varid 0. Please report ...) created by ettlmartin
Cppcheck does gets fooled by boost::pool […] […] Reference: …
20:35 Ticket #4763 (cppcheck should warn about inneficient use of strlen()) created by dominikoeo
The following code illustrate 2 inefficient use of strlen() as described …
07:30 Ticket #4510 (False positive: "Possible null pointer dereference if the default ...) closed by zacblair
fixed: Thanks for the feedback. I will push the fix now and think about how I …

04/24/13:

16:04 Ticket #4762 (check coding styles) created by dpinol
I've been a very happy cppcheck for already some time. The only big thing …
04:53 Ticket #4761 (New check: iterator out of bounds (i != x.end() && *(i+1) == y)) created by danielmarjamaki
This code in lib/checkio.cpp looks very suspicious: […] If i points at …

04/23/13:

11:52 Ticket #4760 (false negative: (error) usage of uninitialized variable (struct member)) created by ettlmartin
Cppcheck fails to detect the usage of an uninitialized variable (struct …
10:31 Ticket #4758 (false positive 'constStatement' in 1.59) closed by pkeus
duplicate: We already had a ticket about it and it is fixed in current git head.
10:13 Ticket #4759 (improve check: 'unusedStructMember' in 1.59 (function in other scope has ...) created by daveohlsson
I use Cppcheck 1.59 on RedHat? Linux 2.6. Given file Foo1.cpp: […] …
10:06 Ticket #4758 (false positive 'constStatement' in 1.59) created by daveohlsson
I use Cppcheck 1.59 on RedHat? Linux 2.6. File Foo.cpp: […] is legal …
08:57 Ticket #4757 (Improve check: pointer dereference before null check 'if (*p<15); if (p);') created by danielmarjamaki
No warning is reported for the code below: […] I expected I'd get a …
08:18 Ticket #4756 (wrong detection for complex brace construct) created by abiessmann
It happens that we get the following warning […] for this snippet …
06:36 Ticket #4755 (buggy --xml reports in 1.59) created by daveohlsson
I use CppCheck? 1.59 on RedHat? Linux 2.6, in a multicore machine. Given …
05:22 Ticket #4687 (Missing performance warning 'variable x is reassigned a value before the ...) reopened by danielmarjamaki
I agree with your comments in #4604. so I reopen this ticket.
05:17 Ticket #4735 (FP: Mismatching assignment and comparison) closed by danielmarjamaki
fixed: Fixed by: …

04/22/13:

05:34 Ticket #4687 (Missing performance warning 'variable x is reassigned a value before the ...) closed by danielmarjamaki
wontfix: The goai is to avoid complaining about common practice. It is common …

04/21/13:

16:57 Ticket #4326 (Analysis failed: using boost reverse_foreach) closed by amai
worksforme: I also cannot see any error message. I've tried with/wo that define, …

04/20/13:

11:31 Ticket #4753 (False positive for statement after return) closed by amai
duplicate: See #4739 (and #3989)
05:52 Ticket #4754 (False positive: Map literals trigger redundant code warning) closed by danielmarjamaki
fixed: Fixed by: …
Note: See TracTimeline for information about the timeline view.