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

Timeline


and .

02/22/09:

07:06 WikiStart edited by aggro80
svn example put inside code tags (diff)
07:05 WikiStart edited by aggro80
source code added (diff)

02/21/09:

15:35 KnownFalsePositives edited by hyd_danmar
(diff)
15:34 KnownFalsePositives edited by hyd_danmar
(diff)
15:32 KnownFalsePositives edited by hyd_danmar
(diff)
15:31 KnownFalsePositives created by hyd_danmar
wrote initial content. It's just about the bounds checking yet.
15:15 WikiStart edited by hyd_danmar
A KnownFalsePositives page will be created (diff)
14:20 Ticket #115 ("Unused private function" false positive) created by kidkat
Checking c:\temp\cppcheck_tests\test48.cpp... …
14:03 Ticket #114 (memory leaks in array are not detected) created by kidkat
[…] Checking c:\temp\cppcheck_tests\test49.c... 49/49 files checked …

02/20/09:

19:41 Ticket #113 (Add support for multi core CPUs and -w parameter to specifify amount of ...) closed by aggro80
fixed: Fixed by [1262] (for Linux at least)
19:39 Ticket #113 (Add support for multi core CPUs and -w parameter to specifify amount of ...) created by aggro80
10:17 Ticket #112 (XML generated by --results-xml is invalid) closed by hyd_danmar
invalid: After we released 1.28, we rewrote the XML output. Sample xml output …
03:31 Ticket #112 (XML generated by --results-xml is invalid) created by donald_shepherd
The results.xml generated by --xml-results is invalid, as the initial …

02/19/09:

08:04 Ticket #110 (validating input data: no validation when reading from file) closed by hyd_danmar
fixed: [1257]

02/18/09:

22:42 Ticket #111 (false positive with linked lists (with all flag)) created by scandum
I ran cppcheck on the tintin++ sourcecode …
20:31 Ticket #110 (validating input data: no validation when reading from file) created by hyd_danmar
Create a new check that can detect if reading from file without …
20:07 Ticket #97 (STL: dangerous usage of push_back) closed by hyd_danmar
fixed: [1253]

02/17/09:

20:04 Ticket #76 (simplify token list: else if) closed by hyd_danmar
fixed: [1252]
09:49 Ticket #109 (crash with #error directive) created by cbucher
hi, if the token-string contains an odd number of " or ', cppcheck stop …

02/15/09:

13:29 Ticket #105 (simplify tokens: Remove redundant parantheses around variable/number) closed by hyd_danmar
fixed: [1246]
11:42 Ticket #106 (message for headerfiles lack a slash in the path) closed by hyd_danmar
fixed: [1245]
07:58 Ticket #99 (Invalid Windows path in output) closed by hyd_danmar
fixed: [1243]

02/14/09:

21:48 Ticket #108 (Simplify int a; sizeof(a)) created by aggro80
test case: TestTokenizer::sizeof5 Should be implemented in …
20:57 Ticket #107 (Convert + + into + and + - into -) closed by aggro80
fixed: Fixed by [1238]
20:54 Ticket #107 (Convert + + into + and + - into -) created by aggro80
Convert + + into + and + - into -
14:20 Ticket #106 (message for headerfiles lack a slash in the path) created by kidkat
The messages for header files are lacking the last slash between the …
14:17 Ticket #38 (variable lists not properly handled) closed by kidkat
worksforme: Ths example was bogus and this actually works. May bad.
14:13 Ticket #38 (variable lists not properly handled) reopened by kidkat
This appears to be a tokenizer issue ans also affects other checks: …
10:23 Ticket #105 (simplify tokens: Remove redundant parantheses around variable/number) created by hyd_danmar
Redundant parantheses around a variable/number should be removed. For …
10:16 Ticket #101 ("++" is changed into two tokens by tokenizer, while it should be only a ...) closed by hyd_danmar
fixed: [1235]
10:14 Ticket #103 (Tokenizer: Handling ">>" and "> >") closed by hyd_danmar
fixed: [1235]
08:52 Ticket #104 (Change (error) Uninitialized member variable -> (style) Member variable ...) closed by aggro80
fixed: Fixed by [1234]
08:29 Ticket #104 (Change (error) Uninitialized member variable -> (style) Member variable ...) created by aggro80
Change […] into […]
06:55 Ticket #102 (false memory leak with parethesis in destructor) closed by hyd_danmar
fixed: [1232]

02/13/09:

18:03 Ticket #103 (Tokenizer: Handling ">>" and "> >") created by hyd_danmar
Related ticket: #101 The code ">>" should translate into one token but …
17:04 Ticket #102 (false memory leak with parethesis in destructor) created by cbucher
hi the code […] returns […] best regards

02/12/09:

20:34 Ticket #101 ("++" is changed into two tokens by tokenizer, while it should be only a ...) created by aggro80
Test case: TestSimplifyTokens::double_plus
19:27 Ticket #100 (Simplify constants simplifies leaks out from variable scope and simplifies ...) closed by aggro80
fixed: Fixed by [1222]

02/11/09:

22:19 Ticket #100 (Simplify constants simplifies leaks out from variable scope and simplifies ...) created by aggro80
Test case TestTokenizer::simplify_constants added. Simplify constants …
21:21 Ticket #98 (False positive: Incomplete statement) closed by aggro80
fixed
15:18 Ticket #99 (Invalid Windows path in output) created by kimmov
When I run cppcheck for current WinMerge? SVN sources, in Src-folder, I …
06:21 Ticket #96 (STL: dangerous usage of erase) closed by hyd_danmar
fixed: [1212]

02/10/09:

20:57 Ticket #98 (False positive: Incomplete statement) created by hyd_danmar
The test case TestIncompleteStatement::intarray highlights a false …
20:22 Ticket #97 (STL: dangerous usage of push_back) created by hyd_danmar
upon a push_back on a vector, all iterators for it can become invalid. …
20:15 Ticket #96 (STL: dangerous usage of erase) created by hyd_danmar
This is bad usage of erase.. […]
20:02 Ticket #95 (STL container overrun) closed by hyd_danmar
fixed: [1205]
19:58 Ticket #94 (STL container overrun) closed by aggro80
fixed: In [1208] the check is now part of default checks.

02/09/09:

21:04 Ticket #95 (STL container overrun) created by dxoch
Maybe a new check can be able to detect the following common typo, which …
21:01 Ticket #94 (STL container overrun) created by dxoch
Maybe a new check can be able to detect the following typical (in my …
20:52 Ticket #93 (Write xml results into error stream instead of results.xml file.) closed by aggro80
fixed: Fixed in [1202]
20:48 Ticket #93 (Write xml results into error stream instead of results.xml file.) created by aggro80
07:58 Ticket #90 (Uninitialized member variable not found because of enum) closed by hyd_danmar
fixed: Fixed this problem in [1198] Added unit test: […]
07:57 Ticket #87 (uninitialized variables: classes with inlined implementation) closed by hyd_danmar
fixed: Unit test added in [1198] TestClass::uninitVarHeader2

02/08/09:

21:21 Ticket #80 (refactoring: classes ErrorMessage and ErrorLogger) closed by aggro80
fixed: Fixed by [1196] and [1197]
19:17 Ticket #91 (False positive, (style) struct or union member 'x::b' is never used) closed by aggro80
invalid: Had a typo in the example, no bug here.
19:14 Ticket #81 (getting rid of compiler warnings) closed by aggro80
fixed: Only Borland warnings left, and those are not worth fixing. Closing.
14:22 Ticket #92 (Memory leaks not detected when using assignment) created by hyd_danmar
This message was submitted by ylucki... I am not sure if I use it …
12:58 WikiStart edited by hyd_danmar
How to submit a patch (diff)
12:23 WikiStart edited by aggro80
Patches - text added (diff)
12:00 Ticket #86 (False positive, Deallocating a deallocated pointer) closed by hyd_danmar
fixed: [1191]
11:02 Ticket #91 (False positive, (style) struct or union member 'x::b' is never used) created by aggro80
[…] […]
10:40 Ticket #89 (False positive, (style) Redundant code - begins with numeric constant ...) closed by aggro80
fixed: Fixed by [1189]
10:39 Ticket #90 (Uninitialized member variable not found because of enum) created by hyd_danmar
Thank you Jim Xochellis for spotting this: …
10:13 Ticket #89 (False positive, (style) Redundant code - begins with numeric constant ...) created by aggro80
[…] […]
09:52 Ticket #88 (False positive, (style) Redundant code - begins with numeric constant) closed by aggro80
fixed: Fixed in [1187]
09:20 Ticket #88 (False positive, (style) Redundant code - begins with numeric constant) created by aggro80
[…] […]
08:52 Ticket #85 (False positive (style) Redundant code, begins with string) closed by aggro80
fixed: Fixed in [1186]
07:13 Ticket #87 (uninitialized variables: classes with inlined implementation) created by hyd_danmar
The check for uninitialized variables doesn't work for classes that are …
00:46 Ticket #86 (False positive, Deallocating a deallocated pointer) created by aggro80
(error) Deallocating a deallocated pointer: a ThrowFatalException?() could …
00:12 Ticket #85 (False positive (style) Redundant code, begins with string) created by aggro80
[…] […]

02/07/09:

20:06 Ticket #84 (unit testing: use "protected" instead of preprocessor) closed by aggro80
fixed: Fixed by [1182]
19:30 Ticket #84 (unit testing: use "protected" instead of preprocessor) created by hyd_danmar
I believe we should use "protected" in the unit tests instead of the …
19:16 Ticket #83 (cppcheck hangs) closed by aggro80
fixed
18:41 Ticket #83 (cppcheck hangs) created by hyd_danmar
Test case added: simplify_numeric_condition And fixed by [1181]
18:22 Ticket #82 (new check: buffer overrun with dynamic memory) created by hyd_danmar
A new check can be created that tries to detect buffer overruns in …
10:55 Ticket #50 (Check for incorrect memory allocation size) closed by hyd_danmar
fixed: [1178]
09:46 Ticket #79 (wrong line number when reporting memory leak) closed by hyd_danmar
fixed: [1179]
07:46 Ticket #81 (getting rid of compiler warnings) created by hyd_danmar
I'd like to get rid of as many compiler warnings as possible. I got the …

02/06/09:

18:36 Ticket #72 (Move allocation/deallocation check from --all back to normal checks) closed by hyd_danmar
fixed: [1173]
18:34 Ticket #80 (refactoring: classes ErrorMessage and ErrorLogger) created by hyd_danmar
I think the ErrorMessage? and ErrorLogger? could be refactored. The check …

02/05/09:

21:07 Ticket #78 (Change (always) into (error) in error messages) closed by aggro80
fixed: Fixed by [1170]
20:28 Ticket #79 (wrong line number when reporting memory leak) created by hyd_danmar
This code has a memory leak: […] The error report says it is on line 7 …
20:17 Ticket #77 (Incorrect line number with using after deallocation) closed by hyd_danmar
fixed: [1168]
19:37 Ticket #78 (Change (always) into (error) in error messages) created by aggro80
(always) can be misleading, it should be changed to (error)
19:23 Ticket #77 (Incorrect line number with using after deallocation) created by aggro80
Line number […] Prints out: […] Should be: […]
19:05 Ticket #76 (simplify token list: else if) created by hyd_danmar
It would be simpler to analyse some code if "else if" were converted into …
13:45 Ticket #75 (Add cppcheck to Windows Shell context menu) created by kimmov
Installer can add cppcheck to the Windows Shell context menu. Then user …

02/04/09:

19:41 Ticket #74 (method is recognized as a variable) closed by hyd_danmar
fixed: [1164] This was a problem when casts were simplified
18:51 Ticket #51 (Check against returning local stack variable) closed by hyd_danmar
fixed: [1162]
16:38 Ticket #74 (method is recognized as a variable) created by cbucher
hi whith this code : […] the result is […] best regards
08:42 Ticket #73 (memory leaks not found when calling a function that returns allocated ...) created by ylucki
#include <stdio.h> #include <string.h> #include <malloc.h> void …
07:28 Ticket #9 (memory leak not detected) closed by hyd_danmar
fixed: [1159]

02/03/09:

22:19 WikiStart edited by aggro80
Design documentation link added (diff)

02/01/09:

10:59 Milestone 1.28 completed
Various fixes and improvements Command line: * Now you can specify extra …
10:30 WikiStart edited by hyd_danmar
status = full speed (diff)

01/31/09:

19:42 Ticket #72 (Move allocation/deallocation check from --all back to normal checks) created by aggro80
Move allocation/deallocation from --all checks back to normal and fix test …
19:11 WikiStart edited by hyd_danmar
final fixes before 1.28 release. (diff)
18:43 Ticket #15 (Defect severity in output messages) closed by hyd_danmar
fixed: [1132] => Fixed problem with the memory leaks message (where either …
18:28 Ticket #69 (Warn about use of mktemp()) closed by lpenz
fixed: Checking it as of r1134.
17:59 Ticket #71 (false positives: mismatching allocation and deallocation) closed by hyd_danmar
fixed
11:55 Ticket #71 (false positives: mismatching allocation and deallocation) created by hyd_danmar
There can be false positives when the same pointer is used in different …

01/29/09:

20:01 Ticket #70 (Locate memory leaks when alloc happens in function parameter) created by aggro80
This code leaks memory: […]
19:59 Ticket #69 (Warn about use of mktemp()) created by aggro80
"Never use mktemp(). Some implementations follow 4.3BSD and replace XXXXXX …
13:11 Ticket #68 (when cppcheck is compiled with djgpp the environment is modified) closed by hyd_danmar
wontfix: I see this with a simple hello world program too that I compile with …
09:42 Ticket #68 (when cppcheck is compiled with djgpp the environment is modified) created by hyd_danmar
The environment is affected by cppcheck. Notice that the path is "C:\cpp …

01/28/09:

19:10 Ticket #62 (Unused function check makes no sense in libraries) closed by hyd_danmar
fixed: [1123]
19:07 Ticket #67 (buffer overflow, while memset a local array) closed by hyd_danmar
fixed: Fixed by [1124]. It's not a perfect fix.
10:31 Ticket #67 (buffer overflow, while memset a local array) created by dczsfnet
Hi all, We have some buffer overflow alarms, while using memset and a …

01/27/09:

20:48 Ticket #65 (Token list: sizeof) closed by aggro80
fixed: Partial support added in [1119] for simple structures. More complex …
19:35 Ticket #66 ([False positive] "Buffer overrun" with "--all") closed by aggro80
fixed: This code doesn't anymore print errors, closing as fixed with commit …
14:45 Ticket #66 ([False positive] "Buffer overrun" with "--all") created by polygon7
This example code: […] gives: > cppcheck.exe -a test.cpp Checking …

01/26/09:

22:27 Ticket #25 (simplify "void f(x) int x; {" into "void f(int x) {") closed by aggro80
fixed: Fixed by [1114]
20:56 Ticket #65 (Token list: sizeof) created by hyd_danmar
The Tokenizer handles "sizeof(x)" it should also handle "sizeof x"
19:58 Ticket #64 (remove configuration from verbose output?) closed by hyd_danmar
invalid: If using -q or piping error messages to file it is nice to see the …
19:13 Ticket #64 (remove configuration from verbose output?) created by hyd_danmar
Should the configuration be shown when "--verbose" is given? I see no …
18:37 Ticket #60 (False positive, memory leak) closed by hyd_danmar
fixed: Fixed by lpenz in [1109]
18:16 Ticket #63 (False positive, Using "c" after it has been deallocated / released) closed by hyd_danmar
fixed: Fixed by [1111] Unit testing […]
16:41 Ticket #61 (false positive: memory leak if deallocation is done like this: ...) closed by hyd_danmar
fixed

01/25/09:

22:09 Ticket #63 (False positive, Using "c" after it has been deallocated / released) created by aggro80
The error itself is generally right, but it causes no harm to the program …
21:31 Ticket #62 (Unused function check makes no sense in libraries) created by lpenz
I think we should either disable it or make a special command-line flag …
16:11 Ticket #61 (false positive: memory leak if deallocation is done like this: ...) created by hyd_danmar
This code gives a false positive: […]
15:46 Ticket #60 (False positive, memory leak) created by aggro80
False positive with this code. strcat() seems to cause the problem. …
13:32 Ticket #59 (False positive, Overlapping data buffer) closed by hyd_danmar
fixed: Fixed by [1103] Unit testing […]
12:21 Ticket #59 (False positive, Overlapping data buffer) created by aggro80
This prints out overlapping data buffer error, even there is no such …
11:06 Ticket #58 (If given path is empty it is assumed that it wasn't given) closed by aggro80
fixed: Fixed by [1101]

01/24/09:

21:20 Ticket #56 (Windows: cppcheck . does not work) closed by kimmov
worksforme: Oops. It actually works. The problem was I was accidentally running in …
21:04 Ticket #58 (If given path is empty it is assumed that it wasn't given) created by hyd_danmar
Currently if checking an empty folder it is assumed that a path wasn't …
20:37 Ticket #57 (wrong path in error message) closed by aggro80
fixed: Fixed in [1100]
20:20 Ticket #57 (wrong path in error message) created by hyd_danmar
When checking TCL I get very strange error message. I am checking the …
20:19 Ticket #56 (Windows: cppcheck . does not work) created by kimmov
cppcheck SVN r1099. Giving the command: cppcheck . in Windows …
19:32 Ticket #55 (segmentation fault when checking linux-2.6/drivers/staging/epl/EplDllk.c) closed by hyd_danmar
fixed: Fixed by [1099] Added one more unit test: […]
18:09 Ticket #34 (Windows: installer should add cppcheck to system path) closed by kimmov
fixed: Implemented in commit [1092].
17:14 WikiStart edited by kimmov
Fix typo (diff)
15:21 WikiStart edited by hyd_danmar
status: making it ready for 1.28 (diff)
10:36 Ticket #55 (segmentation fault when checking linux-2.6/drivers/staging/epl/EplDllk.c) created by hyd_danmar
I was checking the latest git tree for the linux kernel and got a …
08:10 Ticket #54 (Make cppcheck print status e.g. 4/20 files checked) closed by aggro80
fixed: Fixed in [1089]
07:54 Ticket #54 (Make cppcheck print status e.g. 4/20 files checked) created by aggro80
Make cppcheck print status e.g. 4/20 files checked

01/23/09:

21:42 Ticket #35 (Get rid of #ifdefs in our code where possible) closed by hyd_danmar
fixed: Fixed by.. [1081] [1083] [1086] [1087]
19:42 Ticket #52 (Cppcheck hangs when checking VLC's source code) closed by aggro80
duplicate: Duplicate of #48 (cppcheck got stuck with amoeba sources) Fixed in [1077]
19:41 Ticket #48 (cppcheck got stuck with amoeba sources) closed by aggro80
fixed: Fixed in [1077]
19:25 Ticket #53 (false memory leak with --all (destructor)) closed by hyd_danmar
fixed: [1080] Unit testing […]
09:22 Ticket #53 (false memory leak with --all (destructor)) created by cbucher
cppcheck detects a memory leak with this code : class A { public: A(); …
07:40 Ticket #52 (Cppcheck hangs when checking VLC's source code) created by aggro80
Cppcheck hangs when checking VLC's source code. Problem is with handling …
Note: See TracTimeline for information about the timeline view.