Timeline


and .

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 …

01/22/09:

22:17 Ticket #51 (Check against returning local stack variable) created by kush_eplus
This could lead to undetermined behaviors, e.g. : void foo() { char …
22:14 Ticket #50 (Check for incorrect memory allocation size) created by kush_eplus
Check that allocated memory catch a multiple of the pointer's size, e.g. …
22:01 Ticket #49 (Checks for dereferenced pointers) created by kush_eplus
Based on a paper from coverity, two new checks about dereferenced pointers …
21:51 Ticket #48 (cppcheck got stuck with amoeba sources) created by danchev
amoeba code could be found at: …
20:27 Ticket #46 (invalid commandline) closed by aggro80
fixed: Fixed in [1071]
20:21 Ticket #47 (can't check this file. memory usage is 700MB after a few seconds) closed by hyd_danmar
fixed: Fixed by [1070] Unit test: […]
20:00 Ticket #30 (Need a way to specify include file folders) closed by aggro80
fixed: Fixed in [1069]
19:27 Ticket #47 (can't check this file. memory usage is 700MB after a few seconds) created by hyd_danmar
This can't be checked. The memory usage quickly goes up when checking it. …
18:55 Ticket #42 (False positive using -s wrt. union) closed by hyd_danmar
wontfix: We've removed these checks because it is already well covered in every …
18:23 Ticket #44 (Cppcheck considers include guards as configs, checking is very slow) closed by hyd_danmar
fixed: Fixed by [1068] Unit Testing: […] To start with configurations in …
12:45 Ticket #46 (invalid commandline) created by hyd_danmar
If invalid command line is given, cppcheck should probably stop and write …

01/21/09:

21:45 Ticket #45 (This line crashes cppcheck: #define FOO 'ABCD') closed by kush_eplus
fixed: Fixed in changeset [1065]
21:31 Ticket #45 (This line crashes cppcheck: #define FOO 'ABCD') created by aggro80
This line crashes cppcheck: […] Test case …
21:27 Ticket #38 (variable lists not properly handled) closed by kush_eplus
wontfix: We have decided to remove this check as it is already well covered in …
21:26 Ticket #14 (Using uninitialized variables) closed by kush_eplus
wontfix: We have decided to remove this check as it is already well covered in …
21:26 Ticket #44 (Cppcheck considers include guards as configs, checking is very slow) created by aggro80
After bug with include files was fixed, Cppcheck became very slow. Reason …
21:25 Ticket #12 (Using uninitialized data) closed by kush_eplus
wontfix: We have decided to remove this check as it is already well covered in …
21:25 Ticket #5 (unused arrays are not detected) closed by kush_eplus
wontfix: We have decided to remove this check as it is already well covered in …
21:24 Ticket #11 (unreachable code not detected with scope inside case) closed by kush_eplus
wontfix: We have decided to remove this check as it is already well covered in …
21:23 Ticket #10 (unreachable code not detected with if ... else in case) closed by kush_eplus
wontfix: We have decided to remove this check as it is already well covered in …
21:06 Ticket #43 (preprocessor: include file doesn't work so good in subfolders) closed by aggro80
fixed: Fixed in revision [1063]
20:09 Ticket #40 (Check copyright texts in files, now that we have new developers.) closed by aggro80
fixed
19:17 Ticket #43 (preprocessor: include file doesn't work so good in subfolders) created by hyd_danmar
When the source file is in a sub folder the include file doesn't seem to …
19:07 Ticket #41 (Bug in CheckOther::functionVariableUsage) closed by kush_eplus
fixed: Fixed in changeset [1059].
09:08 Ticket #42 (False positive using -s wrt. union) created by thabz
cppcheck called with the -s flag returns false positives when encountering …

01/20/09:

23:18 Ticket #41 (Bug in CheckOther::functionVariableUsage) created by kush_eplus
As I'm not sure I'm right and I don't want to forget ... In …
18:30 Ticket #39 (support marcos with ##) closed by hyd_danmar
fixed: [1049] Unit testing: […]
08:40 Ticket #40 (Check copyright texts in files, now that we have new developers.) created by aggro80
Check copyright texts in files, now that we have new developers.

01/19/09:

18:40 Ticket #36 (false positive of "Deallocating a deallocated pointer") closed by aggro80
worksforme: This happens for me only if --all is used. --all will produce false …
09:46 Ticket #21 (General protection fault when processing sources) closed by aggro80
fixed: I think this was fixed in Changeset [1030]. Closing this ticket anyway, …
09:40 Ticket #37 (segmentation fault while processing MESS source) closed by aggro80
fixed: I think this was fixed in Changeset [1030]
00:20 Ticket #39 (support marcos with ##) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test45.c: ... …
00:12 Ticket #38 (variable lists not properly handled) created by kidkat
int main(int argc,char *argv[]) { int a = 0, b = 0, c = 0; int d, e, f; …

01/18/09:

23:55 Ticket #22 (Windows: does not recognize \ as path separator) closed by kush_eplus
fixed: This has been fixed in changeset [1031]
20:18 Ticket #37 (segmentation fault while processing MESS source) created by kidkat
I attached the two files. Here's the backtrace […]
20:05 Ticket #36 (false positive of "Deallocating a deallocated pointer") created by kidkat
I had to attach the example as file, because of an issue with Trac. …
19:47 Ticket #31 (segmentation fault with QEMU sources) closed by lpenz
fixed: Bug inserted in r969, and reproducible up to r1007 in these files. …
18:39 Ticket #35 (Get rid of #ifdefs in our code where possible) created by aggro80
Currently in cppcheck source files there is code like this: […] It …
17:43 Ticket #24 (false positive of pointer arithmetics when std::string is involved) closed by hyd_danmar
fixed: [1023] => no more false positives. I leave the extra checking for later
17:04 Ticket #8 (false positive because of condional macro) closed by hyd_danmar
fixed: The preprocessor has been rewritten and the macros are now expanded after …
16:50 Ticket #20 (preprocessor: handle #undef) closed by hyd_danmar
fixed: [1018]
16:49 Ticket #27 (Preprocessor: expand macros) closed by hyd_danmar
fixed: [1019]
13:09 Ticket #34 (Windows: installer should add cppcheck to system path) created by kimmov
So the user can just open Windows console and type command as {{{cppcheck …

01/17/09:

21:16 Ticket #33 (Tool to create Makefile) created by hyd_danmar
This was discussed in the forum …
20:23 WikiStart edited by hyd_danmar
(diff)
20:21 WikiStart edited by hyd_danmar
(diff)
20:19 Ticket #32 (False positive with --style: Uninitialized member variable (when stream is ...) closed by aggro80
fixed
19:54 WikiStart edited by hyd_danmar
shorten the text (diff)
19:50 WikiStart edited by hyd_danmar
Explaining cppcheck (diff)
19:36 Ticket #4 (Does not understand . as current folder) closed by kimmov
fixed: Patch committed to SVN as [1005]. Marking fixed.
19:16 Ticket #32 (False positive with --style: Uninitialized member variable (when stream is ...) created by aggro80
$ ./cppcheck test.cpp -s Checking test.cpp: ... [test.cpp:6]: …
19:07 WikiStart edited by hyd_danmar
wiki formatting fix (diff)
19:07 WikiStart edited by hyd_danmar
started rewrite (diff)
17:56 Ticket #31 (segmentation fault with QEMU sources) created by kidkat
While checking the latest SVN of QEMU I experienced a segmentation fault. …
14:32 Ticket #7 (false positive with shift operator and return) closed by hyd_danmar
fixed: [1003]
13:59 Ticket #30 (Need a way to specify include file folders) created by kimmov
Currently cppcheck only finds include files from folders given in include …
13:33 Ticket #29 (improved error message handling) closed by hyd_danmar
fixed: I think this was fixed with tools/errmsg.cpp
13:26 Ticket #29 (improved error message handling) created by aggro80
improved error message handling
13:26 Ticket #28 (Preprocessor: Improve handling of include files) created by aggro80
Preprocessor: Improve handling of include files Currently include files …
13:24 Ticket #27 (Preprocessor: expand macros) created by aggro80
Preprocessor: expand macros
13:22 Ticket #26 (improve the variable id for class member variables) created by aggro80
improve the variable id for class member variables For example, in this …
13:21 Ticket #25 (simplify "void f(x) int x; {" into "void f(int x) {") created by aggro80
simplify "void f(x) int x; {" into "void f(int x) {"
13:17 Ticket #24 (false positive of pointer arithmetics when std::string is involved) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test41.cpp: ... …
13:09 Ticket #19 (buffer overrun not detected) closed by hyd_danmar
fixed: [1001]
12:58 Ticket #23 (deallocation of invalid pointer) created by kidkat
#include <stdlib.h> int main(int argc, char *argv[]) { char tmp[256] = …
12:29 Ticket #1 (Move tickets from the old Tracker) closed by aggro80
fixed
11:53 Ticket #22 (Windows: does not recognize \ as path separator) created by kimmov
In Windows \ is the path separator. But it cannot be used in cppcheck …
11:33 Ticket #21 (General protection fault when processing sources) created by aggro80
Originally submitted By: polygon7 Hi, I have GPF in DOS version of …
11:29 Ticket #20 (preprocessor: handle #undef) created by aggro80
The #undef must be handled by the preprocessor. See test case …
11:25 Ticket #19 (buffer overrun not detected) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test39.c: ... No errors found
11:12 Ticket #18 (false positive with usage in for-loop) closed by hyd_danmar
fixed: [997]
11:00 Ticket #18 (false positive with usage in for-loop) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test38.c: ... …
09:49 Ticket #3 (Does not detect second similar leak place) closed by hyd_danmar
wontfix: this is "ok" behaviour as discussed above
09:42 Ticket #17 (Using comma instead of semicolon) created by hyd_danmar
Using comma between statements instead of semicolon should generate a …
09:39 Ticket #16 (Check For Unused Public Functions) created by sumanthgowda
This was originally reported in the old Tracker: …
09:36 Ticket #15 (Defect severity in output messages) created by paskalad
This was reported by paskalad in the old tracker …
09:07 Ticket #14 (Using uninitialized variables) created by aggro80
I think it would be handy to spot usage of uninitialized variables. E.g. …
09:06 Ticket #13 (Check missing const with --style) created by aggro80
Member functions should be (improves code readability and safety) declared …
09:03 Ticket #12 (Using uninitialized data) created by aggro80
This should give error about using uninitialized data: void foo() { char …
08:58 Ticket #11 (unreachable code not detected with scope inside case) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test15.c: ... No errors found
08:57 Ticket #10 (unreachable code not detected with if ... else in case) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test14.c: ... No errors found
08:54 Ticket #9 (memory leak not detected) created by kidkat
#include <stdlib.h> int main(int argc, char *argv[]) { int *lsound, …
08:52 Ticket #8 (false positive because of condional macro) created by kidkat
[…] Checking c:/temp/cppcheck_tests/test32.c: ... …
08:48 Ticket #7 (false positive with shift operator and return) created by kidkat
int main(int argc, char *argv[]) { int shift = 8 * argc; return argc >> …
07:56 Ticket #6 (resource leak not detected because of while loop) closed by hyd_danmar
fixed: [996]
06:59 Ticket #6 (resource leak not detected because of while loop) created by kidkat
resource leak not detected because of while loop Full description here: …
06:51 Ticket #5 (unused arrays are not detected) created by kidkat
unused arrays are not detected […] Checking …

01/16/09:

21:08 Ticket #4 (Does not understand . as current folder) created by kimmov
It is common idiom in Unix/Linux shells to use . for current folder. But …
20:43 Ticket #3 (Does not detect second similar leak place) created by kimmov
This kind of pattern: […] rightfully gives error "Memory leak: p". But …

01/15/09:

20:38 Ticket #2 (Memory leak: Check for "free; free;") closed by hyd_danmar
fixed: [987]
20:36 Ticket #2 (Memory leak: Check for "free; free;") created by hyd_danmar
Check for code such as: […]
09:43 Ticket #1 (Move tickets from the old Tracker) created by hyd_danmar
Move tickets from the old Tracker
Note: See TracTimeline for information about the timeline view.