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

Timeline


and .

10/04/13:

18:18 Ticket #5069 (sizeof(void) when variable name is override) created by deerehenry
with cppcheck 1.61 the following code produces a false positive when run …
17:34 Ticket #5068 (cppcheck-htmlreport fails if error of type toomanyconfigs is contained in ...) created by matthiaskrgr
With this xml, cppcheck-htmlreport failed: <?xml version="1.0" …
16:39 Ticket #5067 ((error) Internal error. Token::Match called with varid 0 (class ...) created by matthiaskrgr
[radiant/image.cpp] -> [radiant/image.cpp:46]: (error) Internal error. …
16:18 Ticket #5066 (buildman.sh fails) created by matthiaskrgr
I tried to generate the manual using this buildman.sh script: cd man …
16:10 Ticket #5065 (make install for cppcheck-gui) created by matthiaskrgr
I'd like to be able to make install cppcheck-gui into a directory, just …
06:55 WikiStart edited by danielmarjamaki
1.62 is delayed (diff)

10/03/13:

10:05 Ticket #5064 (Tokenizer::simplifySizeof: Doesn't simplify 'sizeof !! (a==1);' properly) created by ettlmartin
Running cppcheck against the Linux Kernel (3.11.2) leads to a crash. This …
03:36 Ticket #5063 (False positive for comparisonOfBoolWithInvalidComparator) created by myint
[…] […]

10/02/13:

23:14 Ticket #5062 (Buffer access out of bounds: Step for loop numerically to get possible ...) created by ettlmartin
Cppcheck fails to detect a buffer access out of bounds issue on following …
22:48 Ticket #5061 (false negative: (error) Null pointer dereference) created by ettlmartin
Cppcheck fails to detect Null pointer dereference […] […] Note: a …
02:39 Ticket #5057 (Microsoft secure printf/scanf support.) closed by iobyte
fixed: The additional parameter checking can be done in another ticket so this …
02:37 Ticket #4964 (printf format argument check only supports simple variables) closed by iobyte
fixed
01:51 Ticket #4964 (printf format argument check only supports simple variables) reopened by iobyte
Here is another small patch that add support for some C++ casts.

10/01/13:

16:39 Ticket #5060 (False positive with initializer lists) created by martincmartin
Note that the comma used here isn't the comma expression, as assumed by …
16:16 Ticket #5059 (False positive with custom operator new().) created by martincmartin
$ cat foo.cpp […] $ g++ foo.cpp -o foo && ./foo Hi Mom! $ cppcheck …
10:01 Ticket #5058 (False positive: (warning) Comparison of a boolean expression with an ...) created by ettlmartin
[…] […] Todo tescase was added by: …

09/30/13:

04:37 Ticket #4907 (False positive "uninitStructMember" on structs with unions) closed by danielmarjamaki
fixed: Fixed by: …

09/29/13:

20:41 Ticket #5057 (Microsoft secure printf/scanf support.) created by iobyte
Microsoft has deprecated a lot of the standard c runtime string routines …
18:16 Ticket #5055 (False negatives when using -I (external source code)) closed by danielmarjamaki
fixed: Fixed by: …
15:27 Ticket #5056 (SymbolDatabase typeStartToken and typeEndToken bug) created by lucasmrod
Hi, I've found a bug in symboldatabase.cpp which may be causing the …
14:05 Ticket #5054 (debug warnings when Variable::typeStartToken() or Variable::typeEndTypen() ...) closed by danielmarjamaki
fixed: I "fixed" this ticket with: …
09:15 Ticket #4929 (false positive: Division by zero (standard function div())) closed by danielmarjamaki
fixed: Fixed by: …
08:32 Ticket #5055 (False negatives when using -I (external source code)) created by danielmarjamaki
I discovered this when scanning clang. I have created a reduced set of …

09/28/13:

15:00 Ticket #5054 (debug warnings when Variable::typeStartToken() or Variable::typeEndTypen() ...) created by danielmarjamaki
My assumption about Variable::typeStartToken() and …
14:10 Ticket #5049 (new check: (warning) Comparison of two identical variables with ...) closed by ettlmartin
fixed: Thanks! I updated the patch according to your suggestions. I have …
13:07 Ticket #5053 (Preprocessor: Probably #error should be reported when --check-config is ...) created by danielmarjamaki
I scanned clang. And I saw that when including llvm/include most …
12:09 Ticket #4721 (Invalid number of character ({) when these macros are defined) closed by danielmarjamaki
worksforme: There was missing include paths configuration. But there is no indication …
12:03 Ticket #5052 (GUI : show information message about missing includes) created by danielmarjamaki
In the CLI there is a information message that there are missing includes. …
09:51 Ticket #5051 (Microsoft ATL/MFC CString::Format argument checking issues) created by xhmikosr
Refs #4920 […]
06:45 Ticket #5024 (segmentation fault (invalid code) while scanning gcc's testsuite) closed by simartin
fixed: Pull request 171 merged, closing the ticket.
06:43 Ticket #5050 (Segmentation fault (invalid code) while checking for useless conditions) created by simartin
This ticket is created from comment 3 in ticket #5024, that is a valid …

09/26/13:

19:06 Ticket #5049 (new check: (warning) Comparison of two identical variables with ...) created by ettlmartin
Please review the attached path. It implements a check for following …
18:56 Ticket #5040 (simplify more math functions) closed by ettlmartin
fixed
15:45 Ticket #5048 (False Positive: Class does not have a constructor although it has private ...) created by marphod
(Apologies if this is a duplicate; I couldn't find one from searching, …
15:35 Ticket #4723 (False positive: Pure virtual call within conditional clause) closed by zingsheim
fixed: Fixed by …
15:28 Ticket #5047 (New check: Hang in loop if there are no state changes) created by danielmarjamaki
Inspired by #5038 We could try to detect if a loop can hang. Example …
14:21 Ticket #4920 (Microsoft ATL/MFC CString::Format argument checking) closed by danielmarjamaki
fixed: Thanks! I applied cstring.2.diff with: …
08:03 Ticket #5046 (False positive: Boolean value assigned to pointer) created by lanurmi
[…] results in […]

09/25/13:

18:12 Ticket #5045 (segmentation fault with enable=style on LO) created by serval2412
Hello, With cppcheck git updated today (commit …
15:05 Ticket #5044 (Improve check: Variable is reassigned before old value is used (if)) created by danielmarjamaki
I saw similar, but more complex, code: […] I'd like something like: …
09:20 Ticket #5043 (False positive: Variable hides enumerator) created by comoran1970
Hi, The following code exhibits a bug in cppcheck 1.61 where it …
07:42 Ticket #5042 (false positive: Redundant code (set filled in initialization list)) created by mendola
On the following snippet of code cppcheck uncorrecty reports: …
06:03 Ticket #4993 (false negative: (style) Same expression on both sides of '==') reopened by danielmarjamaki
Thanks! Don't close a ticket as "Fixed" unless the patch is added in the …
06:02 Ticket #5041 (Improve check: support 'auto' for 'Iterator used after element has been ...) reopened by danielmarjamaki
Thanks! Don't close a ticket as "Fixed" unless the patch is added in the …

09/24/13:

15:05 Ticket #5041 (Improve check: support 'auto' for 'Iterator used after element has been ...) closed by stevedxor
fixed
15:05 Ticket #4993 (false negative: (style) Same expression on both sides of '==') closed by stevedxor
fixed
11:22 Ticket #4964 (printf format argument check only supports simple variables) closed by iobyte
fixed
00:55 Ticket #4964 (printf format argument check only supports simple variables) reopened by iobyte
Sorry to open this ticket again but I found some more false negatives …

09/23/13:

17:56 Ticket #5041 (Improve check: support 'auto' for 'Iterator used after element has been ...) created by stevedxor
Given the following test code: 1 void f() 2 { 3 std::vector<int> ints;\n" …
17:54 Ticket #5040 (simplify more math functions) created by ettlmartin
Please review the attached patch, it simplifies more math functions: …
17:51 Ticket #5039 (False Positive: Instance of 'X' object is destroyed immediately in Qt ...) created by dalem2
The following code triggers this error: […] RadarBeam? is a Qt (Qt 4.7) …
15:59 Ticket #4907 (False positive "uninitStructMember" on structs with unions) reopened by danielmarjamaki
hmm.. maybe this fix wasn't very good. If there is a union anywhere in the …
15:15 Ticket #5038 (ccpcheck 1.61 regression: hang during analysis) created by jfallot
Hello, Since I upgraded to cppcheck 1.61, it hangs during source …
11:54 Ticket #4929 (false positive: Division by zero (standard function div())) reopened by amaigil2
I am not happy about this solution. AFAIK cppcheck assumes the code is …
07:55 Ticket #4946 (Unmatched suppression: unusedFunction) reopened by quamrana
See attached file for example source (unused.c) and command line …
05:22 Ticket #4907 (False positive "uninitStructMember" on structs with unions) closed by danielmarjamaki
fixed: Fixed by: …
04:41 Ticket #4936 (False positive: Null pointer dereference) closed by danielmarjamaki
fixed: It has already been fixed by lucasmrod: …
04:08 Ticket #5029 (Extra loop confuses cppcheck wrt uninitialized variable) closed by danielmarjamaki
duplicate: Yes this was fixed when I fixed #4934. Thanks for reporting this!
04:07 Ticket #4934 (false positive: Uninitialized variable (loop with inner condition '(x=1)')) closed by danielmarjamaki
fixed: Fixed by: …

09/22/13:

14:53 Ticket #4099 (False negative checkWrongPrintfScanfArguments ("%f")) closed by iobyte
fixed: %f works so this ticket can be closed.
07:52 Ticket #4929 (false positive: Division by zero (standard function div())) closed by danielmarjamaki
fixed: Fixed by: …
07:26 Ticket #4946 (Unmatched suppression: unusedFunction) closed by danielmarjamaki
worksforme: I can't reproduce: […]

09/21/13:

16:11 Ticket #5030 (Segmentation fault below CheckMemoryLeakStructMember::isMalloc()) closed by danielmarjamaki
fixed: Thanks amai! I applied patch_5030.diff with: …
15:46 Ticket #5033 (segmentation fault (valid code) in ...) closed by danielmarjamaki
fixed: Thanks for the patch amai! I don't see any need to return. I think it's ok …
15:41 Ticket #5032 (fix wrong unittest case in testtoken::matchNumeric) closed by ettlmartin
fixed: Fixed by …
15:17 Ticket #5037 (Add missing C++ std objects and types) closed by lucasmrod
fixed: Yes, my references always are http://en.cppreference.com/w/ and/or …
15:00 Ticket #5031 (simplify labs|fabs|abs(-1) to 1) closed by ettlmartin
fixed

09/20/13:

13:25 Ticket #5037 (Add missing C++ std objects and types) created by lucasmrod
I have appended a patch that adds a few std:: types, objects and …

09/19/13:

23:20 Ticket #5036 (New Check: Unconditional break in loop) created by tehuser
The following code does not flag up a problem in gcc or in cppcheck. …
23:15 Ticket #5035 (False Positive: Comparison of a boolean value using relational operator ...) created by tehuser
With this code in a file with an unusual extension (.orig), I get …
12:48 Ticket #5034 (Internal error. Token::Match called with varid 0.) created by akrisak
I'm using cppcheck 1.61 on Windows XP. I've got internal error in both …

09/18/13:

06:28 Ticket #5033 (segmentation fault (valid code) in ...) created by ettlmartin
This bug was reported at …

09/17/13:

06:36 Ticket #5032 (fix wrong unittest case in testtoken::matchNumeric) created by ettlmartin
Please review the attached patch, where some probably wrong unittestcases …

09/15/13:

19:39 Ticket #5031 (simplify labs|fabs|abs(-1) to 1) created by ettlmartin
Please review the attached patch, it simplifies statements like {{{ …
17:52 Ticket #5022 (Improve check: Division by zero or useless condition, function call) closed by danielmarjamaki
fixed: Fixed by: …
14:39 Ticket #5021 (Confusing message about %lf format in printf()) closed by danielmarjamaki
fixed: Thanks! I applied double.diff with: …
13:38 Ticket #5021 (Confusing message about %lf format in printf()) reopened by iobyte
The previous patch removed warnings for %lf because it has different …

09/13/13:

17:51 Ticket #5023 (Add support for asinf,acosf,asinl, acosl (...) functions) closed by danielmarjamaki
fixed: Thanks! I applied 5023.2.diff with: …
17:44 Ticket #5030 (Segmentation fault below CheckMemoryLeakStructMember::isMalloc()) created by gvol
I'm using cppcheck 1.61 from home brew on Mac OS X 10.8.4 which segfaults …
17:32 Ticket #5029 (Extra loop confuses cppcheck wrt uninitialized variable) created by gvol
I'm using cppcheck 1.61 from home brew on Mac OS X 10.8.4. I get the error …
17:13 Ticket #5028 (C++11 raw strings not parsed properly) created by gvol
I'm using cppcheck 1.61 from home brew on Mac OS X 10.8.4. I get the …
15:49 Ticket #5027 (Improve check: Address of local auto-variable assigned to a function ...) created by unousername
I have this code: […] The following error is detected: […] …

09/12/13:

12:26 Ticket #5026 (Dereferences or deletions of deleted address incorrectly detected) created by o_barthelemy
In the following code: […] Line 5 shows 2 errors : 'Deallocating a …
10:55 Ticket #5025 (New Feature: Multi-threaded checking) closed by ettlmartin
worksforme: This is already implemented: […]
10:39 Ticket #5025 (New Feature: Multi-threaded checking) created by szotyi2501
Instead of checking the source files 1 by 1, you could add multi-threaded …
03:55 Ticket #5021 (Confusing message about %lf format in printf()) closed by danielmarjamaki
fixed: Thanks! I applied 5021.diff with: …

09/11/13:

22:20 Ticket #5024 (segmentation fault (invalid code) while scanning gcc's testsuite) created by ettlmartin
This is valid c code and it lets cppcheck crash (from …
18:08 Ticket #5023 (Add support for asinf,acosf,asinl, acosl (...) functions) created by ettlmartin
Please review the attached patch, it implements support for …
08:38 Ticket #5022 (Improve check: Division by zero or useless condition, function call) created by danielmarjamaki
This is related to #5017. I saw such mistake in production code: […]
07:39 Ticket #5021 (Confusing message about %lf format in printf()) created by amaigil2
[…] triggers a warning as of git head …

09/10/13:

09:06 Ticket #5020 (Rules: Searching arithmetic operation on numeric varibles) created by sreejeshs
It is not possible to search some operation like '/' or '>>' between two …

09/09/13:

13:52 Ticket #4720 (Double angle brackets (">>") in template base class definitions are not ...) closed by danielmarjamaki
fixed: This works in latest git head. But it doesn't work in 1.61.

09/08/13:

18:38 Ticket #5019 ((error) Internal error. Token::Match called with varid 0 in sqlite3.c) created by amai
Current git head fails with a (error) Internal error. Token::Match …
18:22 Ticket #4964 (printf format argument check only supports simple variables) closed by danielmarjamaki
fixed: Many thanks for all your hard work! I applied final.diff with: …
14:30 Ticket #4994 (segmentation fault (invalid code) in CheckOther::checkVariableScope) closed by simartin
fixed: PR merged.

09/07/13:

17:44 Ticket #4606 (Allows selection of multiple directories then does nothing) reopened by danielmarjamaki
I reverted my fix with: …
10:20 Ticket #5016 (false negative: condition is always true / comparing boolean result with ...) closed by danielmarjamaki
fixed: Fixed by: …
05:40 Ticket #5017 (New check: division by zero, otherwise condition is redundant) closed by danielmarjamaki
fixed: https://github.com/danmar/cppcheck/commit/83c460fc5606e5746991791b1eba1923e

09/06/13:

18:16 Ticket #5018 (Analysis failed for a file from gnulib (lib/glob.c)) created by tonyo112
I'm using Cppcheck 1.61. Analysis failed for a file 'lib/glob.c' in gnulib …
09:31 Ticket #5017 (New check: division by zero, otherwise condition is redundant) created by danielmarjamaki
I saw such code: […] Here Cppcheck could warn that either the …
07:30 Ticket #5016 (false negative: condition is always true / comparing boolean result with ...) created by ettlmartin
I have found this in production code. This is a striped down version, …
03:37 Ticket #5015 (strings not being concatinated properly) closed by danielmarjamaki
fixed: Thanks! I applied strcat.diff with: …

09/05/13:

23:06 Ticket #5015 (strings not being concatinated properly) created by iobyte
I am getting a large number of false negatives from the printf checks and …
14:33 Ticket #5014 (Spellfix in comments) created by ettlmartin
Please review the attached patch, it fixes a few wrong spelled words in …
11:46 Ticket #5013 (Rules: Searching preprocessor definitions) created by sreejeshs
Preprocessor define statements can be checked by rules in cppcheck-1.61. I …
04:39 Ticket #5012 (Hang when there is syntax error 'else }') closed by danielmarjamaki
fixed: Fixed by: …
00:45 Ticket #5012 (Hang when there is syntax error 'else }') created by dtremenak
The following code snippet will cause cppcheck 1.61 to hang indefinitely: …
00:01 Ticket #4964 (printf format argument check only supports simple variables) reopened by danielmarjamaki

09/04/13:

23:48 Ticket #4964 (printf format argument check only supports simple variables) closed by danielmarjamaki
fixed: Thanks! I applied size_t.diff with: …
21:58 Ticket #5011 (False positive: (error) Boolean value assigned to pointer) created by flashm
Hello, I'm using Cppcheck 1.61. I've encountered false positive on …
20:44 Ticket #5010 (false negative: (error) uninitialized variable not detected) created by ettlmartin
The following example demonstrates a testcase, extracted from real world …
20:40 Ticket #5009 (new check: Using sizeof without parentheses followed by more than one ...) created by ettlmartin
I have an idea for new check. Cppcheck could warn about following issue, …
20:32 Ticket #5008 (new check: Using floating point variable as loop counter) created by ettlmartin
I have an idea for a new check. Cppcheck could warn about usage of loop …
19:00 Ticket #5007 (Same include guard naming) closed by danielmarjamaki
fixed: Thanks! I like this. I applied that patch with: …
14:45 Ticket #4662 (Unexpect error using boost: Invalid number of character ({)) reopened by rconde01
Sorry, here's a better example: […] The issue appears to be the …
13:51 Ticket #4662 (Unexpect error using boost: Invalid number of character ({)) closed by danielmarjamaki
invalid: the code example is not very good. There is indeed invalid number of { in …
06:49 Ticket #5007 (Same include guard naming) created by ettlmartin
Please review the attached patch, it harmonizes the include guard naming …
03:55 Ticket #4961 (reduce problems and question) closed by danielmarjamaki
fixed: I close this as fixed.
03:22 Ticket #5006 (False positive: Possible null pointer dereference if the default parameter ...) created by dtremenak
The fix which took care of #4539 and #4407 seems to be incomplete; I still …
Note: See TracTimeline for information about the timeline view.