Timeline


and .

12/06/09:

23:34 Ticket #1062 (false positive: uninitialized variable) created by ettlmartin
the following code produces a false positive […] cppcheck prints: …
23:21 Ticket #1061 (false positve: uninitialized variable) created by ettlmartin
during a check of the current wxWidgets-svn head, the following false …
22:15 Ticket #1057 (Tokenizer: negative numbers are not tokenized correctly in switch-case) closed by aggro80
fixed: Thanks for the report. Fixed by: …
21:02 Ticket #1060 (Preprocessor: wrong define handling) created by kidkat
This code […] reports […] Although without any defines no leak …
20:59 Ticket #1059 (Preprocessor: No configuration extracted for '#if A==1 && defined(B)') created by kidkat
This code: […] will only check one define configuration: […]
20:51 Ticket #1058 (Preprocessor: extracting configuration for '#if DEF == 1') created by kidkat
This code: […] reports […] For some reason the leak of c3 is not …
18:40 Ticket #1055 (Support for inline suppressions) closed by hyd_danmar
fixed: Applied by: …
17:43 WikiStart edited by hyd_danmar
Version 1.40 is planned to be released on january 10th (diff)
17:09 Ticket #1057 (Tokenizer: negative numbers are not tokenized correctly in switch-case) created by lacos-hu
I've read about cppcheck under (0). I've downloaded it as a tgz …
16:56 Ticket #1056 (gui: mouse actions should be available also from menu bar) created by aggro80
Currently there are actions that appear when right mouse button is pressed …
16:51 Ticket #1054 (gui: copy message to clipboard) closed by ettlmartin
fixed: patch is applied: …
15:11 Milestone 1.39 completed
Many fixes, refactorings and improvements. New features: * new flag …
14:26 Ticket #1055 (Support for inline suppressions) created by twistedwave
A small patch to support inline suppressions. Adding a comment like this …
14:05 Ticket #1054 (gui: copy message to clipboard) created by ettlmartin
I have extended the gui (right-click-menu) about a "copy message" …
10:05 Ticket #1053 (Internal error in Cppcheck. Please report) closed by hyd_danmar
duplicate: It seems the fix for #1052 also fixed this issue
09:59 Ticket #1052 (Internal error for 'int vals[] = { 0x13, 1?0x01:0x00 };') closed by hyd_danmar
fixed: Fixed by: …
09:32 Ticket #1053 (Internal error in Cppcheck. Please report) created by ettlmartin
cppcheck prints an internall error on following code: […] It is …
09:11 Ticket #1052 (Internal error for 'int vals[] = { 0x13, 1?0x01:0x00 };') created by ettlmartin
during a check of the current gcc trunk, the following message appeared …
08:02 Ticket #1051 (segmentation fault when there is syntax error) closed by hyd_danmar
fixed
07:47 Ticket #1050 (Internal error: In tokenizer for: 'do { sizeof 1; } while (0);') closed by hyd_danmar
fixed: Fixed by: …

12/05/09:

23:35 Ticket #1051 (segmentation fault when there is syntax error) created by ettlmartin
during a check of the current gcc trunk, cppcheck gets a segmentation …
23:10 Ticket #1050 (Internal error: In tokenizer for: 'do { sizeof 1; } while (0);') created by ettlmartin
during a check of the current trunk of gcc, cppcheck printed this message: …
21:21 Ticket #1049 (Tokenizer: internal error for 'std::list<std::string[8]> w1, w2;') closed by hyd_danmar
fixed: Fixed by: …
21:06 Ticket #1048 (False positive: exceptNew error with nothrow) closed by hyd_danmar
fixed: Fixed by: …
20:53 Ticket #1049 (Tokenizer: internal error for 'std::list<std::string[8]> w1, w2;') created by ettlmartin
during a check of the current gcc trunk, cppcheck brings the following …
20:33 Ticket #1048 (False positive: exceptNew error with nothrow) created by aggro80
[…] […] http://www.cplusplus.com/reference/std/new/nothrow/
20:15 Ticket #1046 (tokenizer: internal error for 'discard_block< (1 << 24), 10, 24 > u, v;') closed by hyd_danmar
fixed: Fixed by: …
19:43 Ticket #1047 (Improve check: buffer access out of bounds not found (pointer arithmetic)) created by ettlmartin
[…] currently, this is not detected
19:13 Ticket #1046 (tokenizer: internal error for 'discard_block< (1 << 24), 10, 24 > u, v;') created by ettlmartin
found during check of the current gcc trunk: […] the file equal.cc …
18:43 Ticket #1045 (Internal error: failed to instantiate template. The checking continues ...) created by ettlmartin
During a check of the current svn trunk of gcc the following message …
16:38 Ticket #1044 (Access Violation with --enable=all) closed by hyd_danmar
fixed: Fixed by: …
14:28 Ticket #1044 (Access Violation with --enable=all) created by kidkat
The attached file crashes with --enable=all. Here the backtrace: […]
10:42 Ticket #1026 (false positive: buffer access out of bounds) closed by hyd_danmar
fixed: Fixed by: …
07:54 Ticket #1043 (use "cppcheck:.." syntax in error messages) closed by hyd_danmar
fixed: Fixed by: …

12/04/09:

20:52 Ticket #1043 (use "cppcheck:.." syntax in error messages) created by aggro80
Currently some error messages start with "cppcheck: " and others don't. …
18:37 Ticket #987 (--enable should inform the user if given arguments are not valid) closed by hyd_danmar
fixed: Fixed by: …
18:36 Ticket #1034 (change --enable to --enable=all) closed by hyd_danmar
fixed: Fixed by: …
07:40 Ticket #1042 (new style check: do not overload virtual functions) created by ettlmartin
[…] the call pb->vFoo(12.3); will find the name vFoo in the derived …

12/03/09:

22:15 Ticket #1037 (tokenizing a nested do while, while loop fails) closed by aggro80
fixed: Thanks for the report and locating the problem. Unfortunately the fix you …
20:39 Ticket #1041 (new check: passing a nullpointer to a reference) created by ettlmartin
[…]
20:23 Ticket #1040 (new check: cast away const) created by ettlmartin
[…] Maybe cppcheck could warn about this issue. What do you think …
18:21 Ticket #1032 (False positive resource leak with exit at end of functio) closed by hyd_danmar
fixed
13:25 Ticket #1039 (improve check: stl iterator out of bounds) created by ettlmartin
[…] the statement *i excceeds the vector bounds and can lead to a …
13:10 Ticket #1038 (improve check: uninitialized struct member not found in class) created by ettlmartin
[…] currently cppcheck is not able to detect this

12/02/09:

22:59 Ticket #1037 (tokenizing a nested do while, while loop fails) created by ericsesterhenn
hi, during tokenizing of the following code cppcheck crashes because it …
20:38 Ticket #1036 (check scanf crashes) created by ericsesterhenn
hi, after reading http://labs.mudynamics.com/advisories/MU-200908-01.txt
18:50 Ticket #1030 (wrong line number with goto) closed by hyd_danmar
fixed: Fixed by: …
12:45 Ticket #1035 (STL: pitfalls of vector<bool>) created by hyd_danmar
check for some pitfalls of vector<bool> […] I don't know what pitfalls …

12/01/09:

22:43 Ticket #1033 (Uninitialized variable) closed by arm_in
duplicate: You are right, "today" was an exaggerated. The bug was fixed 2 days ago.
22:31 Ticket #1034 (change --enable to --enable=all) created by aggro80
21:48 Ticket #1033 (Uninitialized variable) created by arm_in
When running today's GIT version of cppcheck on Scintilla: […] […] …
20:44 Ticket #1032 (False positive resource leak with exit at end of functio) created by ericsesterhenn
hi, i was checking ./misc-utils/scriptreplay.c and noticed a false …
13:57 Ticket #1031 (new check: wrong size argument in strncpy) created by ettlmartin
[…] http://www.cplusplus.com/reference/clibrary/cstring/strncpy/
13:09 Ticket #1030 (wrong line number with goto) created by kidkat
This code […] is reporting […] although the leak is happening at …
13:02 Ticket #1029 (multiple macros with || not handled) created by kidkat
This code […] will result in […] It does not check with the …

11/30/09:

15:47 Ticket #1028 (False positive resource leak) closed by hyd_danmar
fixed
15:47 Ticket #1028 (False positive resource leak) reopened by hyd_danmar
15:46 Ticket #1028 (False positive resource leak) closed by hyd_danmar
fixed: I applied the patch: …

11/29/09:

23:32 Ticket #1028 (False positive resource leak) created by ericsesterhenn
Hi, if the unusual coding style for comparisons is used, where the …
18:24 Ticket #1022 (False positive: uninitialized variable when using local struct) closed by hyd_danmar
fixed: Fixed by: …
17:00 Ticket #986 (Move --all and --style to --enable) closed by aggro80
fixed: Fixed by: …
16:26 Ticket #1027 (Internal error: sizeof a++) closed by hyd_danmar
fixed: Fixed by: …
13:23 Ticket #1027 (Internal error: sizeof a++) created by ettlmartin
[…] cppcheck reports: […] changing the code to : […] the …
11:16 Ticket #1020 (lib/tokenize.cpp:4615: bool Tokenizer::validate() const: Assertion `0' ...) closed by hyd_danmar
fixed: Fixed by: …
08:39 Ticket #1026 (false positive: buffer access out of bounds) reopened by aggro80
No, I think this is a bug in the cppcheck. As size of bb is 8, there is …
06:33 WikiStart edited by hyd_danmar
(diff)
01:22 Ticket #1026 (false positive: buffer access out of bounds) closed by ettlmartin
invalid: sorry for that, cppcheck is right. unsigned long bb[2]; sizeof(bb) is 8 …
00:31 Ticket #1026 (false positive: buffer access out of bounds) created by ettlmartin
[…] […]

11/28/09:

16:32 Ticket #1025 (improve check: nullpointer dereference not detected in constructor) created by ettlmartin
[…]
13:17 Ticket #1024 (Preprocessor: doesn't expand macro in macro) created by kidkat
The following code […] is tokenized to […] The problem is, that …
13:09 Ticket #1023 (improve check: Unintialized variable not detected when using +=) created by ettlmartin
[…] the variable i is used uninitialized. This is currently not …
12:28 Ticket #1022 (False positive: uninitialized variable when using local struct) created by hyd_danmar
This code gives a false positive: […] Running cppcheck: […]
11:52 Ticket #1021 (Out-of-bounds access false positive) closed by hyd_danmar
fixed: Fixed by: …

11/27/09:

22:06 Ticket #1021 (Out-of-bounds access false positive) created by povaddict
Test case: […] Result: {{{$ ../cppcheck/cppcheck test.cpp Checking …
21:23 Ticket #1018 (strcat(strcat()) causes assertion in Tokenizer::validate) closed by aggro80
fixed: Fixed by: …
20:04 Ticket #1020 (lib/tokenize.cpp:4615: bool Tokenizer::validate() const: Assertion `0' ...) created by ettlmartin
during a check of the linux kernel, cppcheck aborted with an assertion: …
19:49 Ticket #1019 (Error statistics) created by kimmov
I think it would be useful to have some basic statistics about errors …
19:27 Ticket #1018 (strcat(strcat()) causes assertion in Tokenizer::validate) created by povaddict
Running cppcheck on the following code: […] causes: […] Comments …
16:33 Ticket #1015 (SIGABRT: Tokenizer::validate for openttd/src/ai/ai_config.cpp) closed by hyd_danmar
fixed: Fixed by: …
05:40 Ticket #1017 (Wrong args for external viewer application) created by silamantex
Hi, Double click in selected line, starts external viewer but, it show …

11/26/09:

21:23 Ticket #1016 (Patch: Refactor #ifdefs in filelister.cpp) created by lanurmi
Instead of checking certain compiler-related macros, let's check for …
20:31 Ticket #1014 (Preprocessor: Invalid preprocessing of '#define some_delete(x) delete x;') closed by hyd_danmar
fixed: Fixed by: …
20:30 Ticket #1015 (SIGABRT: Tokenizer::validate for openttd/src/ai/ai_config.cpp) created by hyd_danmar
Here is a simplified code: […] When checking that, a SIGABRT occurs. …
06:49 Ticket #1014 (Preprocessor: Invalid preprocessing of '#define some_delete(x) delete x;') created by hyd_danmar
This code: […] Is preprocessed to: […] This causes false …
06:44 Ticket #1013 (autovariables: detect when assigning parameter **par) created by mrcoder1234
I try code similar to this(this code I get from cppcheck unit tests), and …

11/25/09:

21:34 Ticket #1012 (Double free of global variable not detected) created by atomo64
[…]
20:52 Ticket #1007 (False positive array index out of bounds concerning a switch statement in ...) closed by aggro80
fixed: Fixed by: …
20:51 Ticket #1011 (Array index out of bounds not detected if there is a switch inside a for ...) created by aggro80
Fix TODO test case array_index_switch_in_for()
20:31 Ticket #1010 (should detect infinite loops) created by atomo64
cppcheck should probably do some effort to try to detect infinite loops. …
20:20 Ticket #1009 (usage of null pointer on strcmp and others) created by atomo64
The following code leads to a segfault: […]
20:05 Ticket #1008 (Check for global variables initialized to zero) created by ericsesterhenn
hi, uninitialized global variables are automatically initialized to zero …
16:03 Ticket #1007 (False positive array index out of bounds concerning a switch statement in ...) created by minielim
Given the following function in a file test.cpp […] The following …
14:40 Ticket #1006 (GUI: sort output by line number) created by robertreif
Items are displayed in the order they are generated which may not be in …

11/23/09:

21:36 Ticket #1005 (improve check: nullpointer dereference not found when it is initialized ...) created by ettlmartin
[…] both cases are not detected, yet.
21:32 Ticket #1004 (improve check: Unintialized variable not detected when using a reference ...) created by ettlmartin
[…] cppcheck does not detected the usage of an uninitialized variable. …
18:02 Ticket #989 (CppCheck crashes on Win XP when scanning large directories/subdirectories.) closed by hyd_danmar
fixed: Fixed by: …

11/22/09:

14:08 Ticket #1003 (Compiler warning: is there a reason for Tokenizer::getErrorMessages to be ...) closed by aggro80
fixed: Fixed by: …
11:35 Ticket #1003 (Compiler warning: is there a reason for Tokenizer::getErrorMessages to be ...) created by hyd_danmar
Is there a reason for Tokenizer::getErrorMessages to be virtual? …
08:57 Ticket #664 (Windows help) closed by hyd_danmar
fixed: A manual has been created. The PDF will be included in the next release.
08:08 Ticket #993 (Latest Git drop aborts at 63% of wine tree) closed by hyd_danmar
fixed: Fixed by: …

11/21/09:

18:54 Ticket #982 (Preprocessor: detects and remove conditions which always true) closed by hyd_danmar
fixed: Fixed by: …
18:51 Ticket #1002 (improve check: memory leak not detected when memory is allocated in base ...) created by ettlmartin
[…]
18:20 Ticket #1001 (new check: Wrong usage of fseek) created by ettlmartin
[…] http://www.cplusplus.com/reference/clibrary/cstdio/fseek/
17:31 Ticket #1000 (new check: closing a file that has never been opened) created by ettlmartin
this ticket it is related to #999 […]
16:47 Ticket #999 (improve check: usage of uninitialized variable not found) created by ettlmartin
[…] currently cppcheck does not detect the usage of the uninitialized …
16:06 Ticket #998 (new check: wrong usage of setvbuf) created by ettlmartin
maybe cppcheck can warn about this issues, documented int the testcase …
15:35 Ticket #997 (new check : Detect buffer overrun with write(), fwrite(), fread()) created by ettlmartin
here two testcases. They are related to ticket #995 […]
15:24 Ticket #996 (new check: failure in computing file length) created by ettlmartin
[…] http://www.cplusplus.com/reference/iostream/istream/read/
14:47 Ticket #988 (Tokenizer::simplifyDoWhileAddBraces(): don't add braces after "do" when it ...) closed by php-coderrr
fixed: Fix commited: …
13:48 Ticket #995 (false positive: buffer access out of bounds when using fgets) closed by aggro80
fixed: Thanks for the report. Fixed by: …
11:50 Ticket #995 (false positive: buffer access out of bounds when using fgets) created by ettlmartin
[…] […] http://www.cplusplus.com/reference/clibrary/cstdio/fgets/
10:36 Ticket #994 (simplifyTemplates: can't instantiate template used inside another template ...) created by jwiegley
Whether I use -a, -a -s, or no flags at all, I get a segfault in …
06:41 Ticket #993 (Latest Git drop aborts at 63% of wine tree) created by celticht32
outputs this : cppcheck: lib/tokenize.cpp:4577: bool Tokenizer::validate() …

11/20/09:

22:08 Ticket #992 (Detect leaks with exit() when enable=leakWithExit is used) created by aggro80
Leak detection with exit() is disabled by design. Allow detection of such …
21:55 Ticket #991 (Array index out of bounds not detected when using result from read) created by aggro80
Array index out of bounds not detected. Assuming all 10 bytes are read, …
21:48 Ticket #985 (Detect buffer overrun with read()) closed by aggro80
fixed: Fixed by: …
19:43 Ticket #965 (Division by zero false positive with nested macros) closed by hyd_danmar
fixed: Fixed by: …
19:40 Ticket #990 (Tokenizer::simplifyIfAddBraces() handle case where statement after if ...) closed by php-coderrr
fixed: Fixed by: …
19:11 Ticket #960 (Tokenizer::validate() assertion failure with mismatched brackets) closed by hyd_danmar
fixed: Fixed by: …
18:19 Ticket #912 (### Unlogged error at Tokenizer::syntaxError: Invalid number of character ...) closed by hyd_danmar
fixed: Fixed by: …
10:22 Ticket #990 (Tokenizer::simplifyIfAddBraces() handle case where statement after if ...) created by kidkat
This code […] causes an assertion […] BTW I think this message …
08:21 Ticket #989 (CppCheck crashes on Win XP when scanning large directories/subdirectories.) created by erdtdt33100
While checking a directory with approx. 60 subdirectories, which contain a …

11/19/09:

22:47 Ticket #988 (Tokenizer::simplifyDoWhileAddBraces(): don't add braces after "do" when it ...) created by ettlmartin
[…] see attached file
22:45 Ticket #864 (GUI fails to open second position for multi-line errors) closed by aggro80
fixed: Thanks for the patch! Path applied: …
22:22 Ticket #981 (GUI saves report with wrong extension) closed by aggro80
fixed: Thanks for the report and fix! Patch applied: …
21:56 Ticket #987 (--enable should inform the user if given arguments are not valid) created by aggro80
The following command should print error and stop execution, because …
21:52 Ticket #986 (Move --all and --style to --enable) created by aggro80
--all could be e.g. --enable=possibleErrors (as --all doesn't really mean …
21:18 Ticket #985 (Detect buffer overrun with read()) created by aggro80
Buffer size is 10, but read is using 100 as a size. […] Reported in …
18:44 Ticket #984 (improve output if strncpy is followed by strncat) created by ettlmartin
[…] […]
18:05 Ticket #983 (Tokenizer::simplifyTypedef() incorrectly substitute type inside namespace) closed by php-coderrr
fixed: Fixed by: …
14:07 Ticket #983 (Tokenizer::simplifyTypedef() incorrectly substitute type inside namespace) created by dpinol
Checking the code excerpt below, cppcheck crash cppcheck s.cpp Checking …
04:13 Ticket #982 (Preprocessor: detects and remove conditions which always true) created by mfranz
The following code triggers an assertion …
03:50 Ticket #981 (GUI saves report with wrong extension) created by robertreif
Trying to save a file results in QFileDialog::getSaveFileName returning an …

11/18/09:

22:38 Ticket #971 (Preprocessor: Handle partial macro in macro) closed by aggro80
fixed: Fixed by: …
22:16 Ticket #980 (false negative: division by zero when using enum) created by ettlmartin
[…] both cases, the integer and the floating point division by zero …
21:39 Ticket #979 (new check: memory allocation in if-statement can lead to dereference of ...) created by ettlmartin
[…]
19:55 Ticket #976 (Improve check: memory leak not detected) closed by hyd_danmar
invalid: Good.. thanks for clarifying. All memory leaks should be suppressed when …
18:23 Ticket #965 (Division by zero false positive with nested macros) reopened by aggro80
The problem is still there. See my last comment.
18:03 Ticket #978 (new check: same condition in if and else if structure) created by ettlmartin
[…]
16:18 Ticket #968 (False positive when TEMP_FAILURE_RETRY used) closed by hyd_danmar
fixed: Fixed by: …
16:10 Ticket #965 (Division by zero false positive with nested macros) closed by hyd_danmar
invalid: There is no problem in Cppcheck related with this ticket, is there?
08:45 Ticket #977 (Memory leaks: Wrong handling of catching and throwing exceptions) created by hyd_danmar
I created an example with an intentional memory leak. It does report a …
08:17 Ticket #976 (Improve check: memory leak not detected) created by ettlmartin
[…] […]

11/17/09:

23:22 Ticket #975 (Buffer access out of bounds not found when using enum) created by ettlmartin
[…] cppcheck does not find this issue
21:42 Ticket #974 (Improve check: use of uninitialized iterator not detected) created by ettlmartin
[…] cppcheck does not find this issue.
21:11 Ticket #973 (Tokenizer: simplify 'template<typename T, unsigned int n, unsigned int ...) created by ettlmartin
[…] cppcheck does not complain about this;
20:55 Ticket #972 (New check: return pointer of stack memory) created by ettlmartin
[…]
18:05 Ticket #970 (Tokenizer: Incorrect comparison order simplification) closed by php-coderrr
fixed: Fixed by: …
03:14 Ticket #971 (Preprocessor: Handle partial macro in macro) created by elegant_dice
$ cppcheck break_cppcheck.cpp Checking break_cppcheck.cpp... …

11/16/09:

20:18 Ticket #970 (Tokenizer: Incorrect comparison order simplification) created by aggro80
[…] Is simplified into: […] This causes false positive in …
17:03 Ticket #969 (Detect leaks when TEMP_FAILURE_RETR macro used) created by php-coderrr
cppcheck not found resource leak it but should: […] See more details …
16:59 Ticket #968 (False positive when TEMP_FAILURE_RETRY used) created by php-coderrr
cppcheck complains about resource leak in following code: […] But in …
16:12 Ticket #442 (Filter duplicate errors in GUI) closed by hyd_danmar
fixed: I applied your dup1.diff.txt fix with: …
16:07 Ticket #967 (new check: find redundant code in if-else-statements) created by ettlmartin
Hi friends, i have an idea for a new check, consider the following code …
16:04 Ticket #726 (GUI: Fix quoting of paths with spaces in Windows) closed by hyd_danmar
fixed: I applied the patches: …
12:46 Ticket #918 (uninitialized pointer usage not detected 'int *p; *p = 135;') closed by ettlmartin
worksforme: upgraded to latest git, and all errors are found correctly! Great work!!
12:37 Ticket #918 (uninitialized pointer usage not detected 'int *p; *p = 135;') reopened by ettlmartin
[…] cppcheck does not find the uninitialized variable usage when using …

11/15/09:

20:31 Ticket #966 (Nested macros not properly replaced) created by kidkat
This code […] will be tokenized into […] and reports this false …
19:27 Ticket #918 (uninitialized pointer usage not detected 'int *p; *p = 135;') closed by hyd_danmar
fixed: Fixed by: …
19:02 Ticket #925 (uninitialized deletion not detected) closed by hyd_danmar
fixed: Fixed by: …
18:40 Ticket #832 (Exception Safety: deallocating member pointer and then throwing exception) closed by hyd_danmar
fixed: This is added. But the given code example doesn't generate the warning …
18:12 Ticket #891 (false positive: division by zero) closed by hyd_danmar
fixed: Fixed by: …
15:45 Ticket #964 (Integer division by zero exception) closed by aggro80
fixed: Fixed by: …
15:26 Ticket #965 (Division by zero false positive with nested macros) created by kidkat
This code […] is tokenized into […] and reports […]
14:26 Ticket #883 (Add new command line argument --enable) closed by hyd_danmar
fixed: Fixed by: …
14:06 Ticket #964 (Integer division by zero exception) created by kidkat
The attached files causes an "Integer division by zero" exception. Here's …
12:40 Ticket #842 (out of bounds: when buffer is allocated with malloc) closed by php-coderrr
fixed: Fixed by: …
12:07 Ticket #950 (Bug in cppcheck tokenize.cpp) closed by php-coderrr
fixed
12:07 Ticket #953 (false positive: "uninitialized variable" with function pointer) closed by php-coderrr
fixed
12:06 Ticket #953 (false positive: "uninitialized variable" with function pointer) reopened by php-coderrr
12:06 Ticket #950 (Bug in cppcheck tokenize.cpp) reopened by php-coderrr
12:03 Ticket #900 (Improve out-of-bounds check to detect error with "new char(x)") closed by php-coderrr
fixed: Fixed by: …
11:43 Ticket #953 (false positive: "uninitialized variable" with function pointer) closed by hyd_danmar
fixed: Fixed by: …
09:33 Ticket #483 (False positive: found leak when foreach for lists used) closed by hyd_danmar
fixed: Fixed by: …
08:30 Ticket #915 (false positive: memory leak for struct member (allocated in condition)) closed by hyd_danmar
fixed: Fixed by: …

11/14/09:

20:32 Ticket #963 ('return realloc()' mishandled) created by povaddict
Test case: […] Should report a leak, but doesn't. However, it works if …
19:38 Ticket #936 (false positive: uninitialized variable '.. else return; .. ') closed by hyd_danmar
fixed: Fixed by: …
17:20 Ticket #766 (memory leak not detected) closed by hyd_danmar
duplicate: duplicate of #73
17:13 Ticket #845 (Bounds check: strncpy doesn't 0-terminate) closed by hyd_danmar
invalid: The given code doesn't have a buffer overrun. So there is nothing to …
16:53 Ticket #862 (possible nullpointer dereference when using strstr) closed by hyd_danmar
duplicate: I believe this is a duplicate of #861
16:44 Ticket #938 (memory leak not detected) closed by hyd_danmar
duplicate: I believe this is a duplicate of #92
16:40 Ticket #939 (nullpointer dereference not detected) closed by hyd_danmar
duplicate: It seems to me it is a duplicate of #922
15:49 Ticket #942 (false positive: Deallocating a deallocated pointer) closed by hyd_danmar
wontfix: I think the "Deallocating a deallocated pointer" is pretty good.
14:30 Ticket #930 (Resource leaks with _open() and other Microsoft-specific variant not found) closed by hyd_danmar
wontfix: I don't feel that we should add more checking to cppcheck. I recommend …
13:07 Ticket #962 (Unrecognized command line option) closed by hyd_danmar
fixed: Fixed by: …
12:26 Ticket #962 (Unrecognized command line option) created by lefreut
Hello, […] This option does not exist (or its name has changed) ;)
11:13 Ticket #957 (new check: wrong usage of fgetc, getc, getchar) closed by php-coderrr
duplicate: Your already fill similar ticket: #160
11:01 Ticket #961 (Tokenizer: call simplifyCasts() before removing "unsigned" keyword) closed by php-coderrr
fixed: Tokenizer removes "unsigned" before simplifyCasts() and leave/close …
08:08 Ticket #944 (new false positives against Wine Git Tree) closed by hyd_danmar
fixed: Fixed by: …
07:01 Ticket #913 (false positive: uninitialized variable) closed by hyd_danmar
fixed: Fixed by: …
01:14 Ticket #916 (false positive: memory leak) closed by ettlmartin
worksforme
00:02 Ticket #961 (Tokenizer: call simplifyCasts() before removing "unsigned" keyword) created by ettlmartin
during a check of the nmap-5.0 package an assertion happend: […]

11/13/09:

22:58 Ticket #960 (Tokenizer::validate() assertion failure with mismatched brackets) created by ettlmartin
[…]
21:10 Ticket #959 (new check: wrong usage of fflush()) created by ettlmartin
[…]
21:03 Ticket #958 (new check: wrong usage of feof) created by ettlmartin
[…] A better version of without feof […]
20:48 Ticket #957 (new check: wrong usage of fgetc, getc, getchar) created by ettlmartin
[…] The return value of fgetc(fp) is casted to char to store the …
20:28 Ticket #956 (improve known results of strlen()) created by ettlmartin
if the known length of 'st1' is used by cppcheck, the buffer access out of …
20:15 Ticket #955 (new check: comparision of string pointers) created by ettlmartin
[…] Never use the == operator to compare the value of strings! Strings …
19:26 Ticket #919 (possible memory leak not detected) closed by hyd_danmar
fixed: Fixed by: …
19:14 Ticket #954 (Tokenizer: correctly simplify sizeof of class members) closed by php-coderrr
fixed: Fixed by: …
19:03 Ticket #919 (possible memory leak not detected) reopened by hyd_danmar
ok.. with --all the error is not detected
19:00 Ticket #919 (possible memory leak not detected) closed by hyd_danmar
worksforme: I can't reproduce. With latest git: […]
01:19 Ticket #953 (false positive: "uninitialized variable" with function pointer) reopened by povaddict
Well that's different. That code is passing &cp to the …

11/12/09:

23:42 Ticket #953 (false positive: "uninitialized variable" with function pointer) closed by povaddict
invalid: I think the error is correct. No matter what Function does, it can't …
22:02 Ticket #903 (segmentation fault of cppcheck) closed by aggro80
fixed: Please open a new ticket for new issues. The crash in the file has nothing …
22:01 Ticket #954 (Tokenizer: correctly simplify sizeof of class members) created by ettlmartin
during a scan of libtiff, cppcheck crashed again: the cppcheck output: …
21:51 Ticket #945 (Array index out of bounds not detected, because of "int const") closed by aggro80
fixed: Fixed by: …
21:38 Ticket #953 (false positive: "uninitialized variable" with function pointer) created by ettlmartin
[…] […]
21:32 Ticket #947 (Errors not detected when size_t is used instead of int) closed by aggro80
fixed: Fixed by: …
21:26 Ticket #946 (False positive: Buffer access out-of-bounds) closed by aggro80
fixed: Fixed by: …
21:19 Ticket #951 (Preincremented struct member confused with numeric constant) closed by hyd_danmar
fixed: Fixed by: …
21:17 Ticket #903 (segmentation fault of cppcheck) reopened by ettlmartin
sorry to reopen the ticket again, but during a scan of libtiff, cppcheck …
20:48 Ticket #952 (uninitialized ptr usage in subfunction is not detected) created by ettlmartin
[…]
18:44 Ticket #903 (segmentation fault of cppcheck) closed by php-coderrr
fixed: Minimal test case: […] After Tokenizer::simplifyIfAssign() code will: …
17:56 Ticket #950 (Bug in cppcheck tokenize.cpp) closed by hyd_danmar
fixed: Fixed by: …
17:17 Ticket #951 (Preincremented struct member confused with numeric constant) created by povaddict
[…] […] It only shows in this particular case. The error goes …
06:37 Ticket #950 (Bug in cppcheck tokenize.cpp) created by Ross Linder
Hi I have created this trivial code to illustrate the problem, it is a …

11/11/09:

23:34 Ticket #949 (Mismatching allocation and deallocation not detected when using alloca()) created by ettlmartin
[…] […]
23:25 Ticket #948 (array index out of bound not detected 'a[i-1] = 0') created by ettlmartin
[…] […]
23:11 Ticket #903 (segmentation fault of cppcheck) reopened by ettlmartin
checking the file with current git version results in a segmentation fault …
21:48 Ticket #947 (Errors not detected when size_t is used instead of int) created by aggro80
[…] Expected results […]
21:41 Ticket #946 (False positive: Buffer access out-of-bounds) created by aggro80
[…] […]
21:28 Ticket #945 (Array index out of bounds not detected, because of "int const") created by aggro80
[…] Expected results: […]
21:16 Ticket #944 (new false positives against Wine Git Tree) created by celticht32
>>> /home/cahrendt/wine-git/dlls/comctl32/imagelist.c:1908: (error) …
18:16 Ticket #935 (Tokenizer: link() problem) closed by php-coderrr
fixed: Fixed by: …
12:58 Ticket #943 (Tokenizer: improve handling of pointer aliasing) created by ettlmartin
[…] The "free(p1)" should be simplified to "free(a)"
12:50 Ticket #942 (false positive: Deallocating a deallocated pointer) created by ettlmartin
[…] Here, a deallocated pointer is used to reallocate memory …
12:42 Ticket #941 (writing to an allready freed/deleted pointer not detected) created by ettlmartin
[…] currently cppcheck does not warn about this issue
12:38 Ticket #940 (nullpointer dereference not detected when using struct) created by ettlmartin
[…] cppcheck does not warn about this issue
12:36 Ticket #939 (nullpointer dereference not detected) created by ettlmartin
[…]
12:20 Ticket #938 (memory leak not detected) created by ettlmartin
[…] cppcheck warns only on ptr1 but not on ptr2! At the end of …

11/10/09:

22:19 Ticket #937 (false positive: uninitialized variable) closed by ettlmartin
duplicate: i don't know why it appears twice... i close this
22:18 Ticket #937 (false positive: uninitialized variable) created by ettlmartin
[…] […]
22:16 Ticket #936 (false positive: uninitialized variable '.. else return; .. ') created by ettlmartin
[…] […]
21:20 Ticket #935 (Tokenizer: link() problem) created by aggro80
Tokenizer::validate() now quits at the start of the function. Remove the …
18:40 Ticket #928 (false positive: member variable not initialized in constructor) closed by hyd_danmar
fixed: Fixed by: …
18:12 Ticket #931 (Invalid interator false positive with identical variable names) closed by hyd_danmar
fixed: Fixed by: …
17:09 Ticket #929 (Uninitialized variable false positive) closed by hyd_danmar
fixed: Fixed by: …
16:21 Ticket #932 (false positive: Dereferenced iterator 'i' has been erased) closed by hyd_danmar
fixed: Fixed by: …
16:02 Ticket #934 (new check: missuse of std::cout) created by ettlmartin
this error happend during a copy and paste session. gcc doesnot complain …
15:30 Ticket #933 (Leaks with struct members not detected) created by kidkat
This code […] reports nothing, although there are three leaks in it.
11:54 Ticket #932 (false positive: Dereferenced iterator 'i' has been erased) created by caolan
[cppcheckdemo1.cxx:11]: (error) Dereferenced iterator 'i' has been erased …
09:44 Ticket #931 (Invalid interator false positive with identical variable names) created by kidkat
This code […] reports […] This is a false postive as the …
09:34 Ticket #930 (Resource leaks with _open() and other Microsoft-specific variant not found) created by kidkat
This code […] does not report a resource leak at all. There are even …
09:15 Ticket #929 (Uninitialized variable false positive) created by kidkat
This code: […] reports […]
05:08 Ticket #928 (false positive: member variable not initialized in constructor) created by robertreif
The following code: class a { public: a() { } }; class b { …

11/09/09:

12:12 Ticket #927 (Exception Safety: enforcing the strong guarantee when working on ...) created by hyd_danmar
A function "foo" is modifiying a global container. In the middle of it, an …

11/08/09:

22:07 Ticket #926 (Wrong checking of multiple configurations with ifndef) created by povaddict
When I run cppcheck on the following code: […] it tests …
18:21 Ticket #925 (uninitialized deletion not detected) created by ettlmartin
[…] […]
17:38 Ticket #924 (bound check does not work on stl::vector::erase) created by ettlmartin
[…] […]
16:48 Ticket #923 (Tokenizer: inline) created by ettlmartin
[…]
16:41 Ticket #922 (null pointer dereference not detected 'if (b == 0) { b->foo(); }') created by ettlmartin
[…]
16:32 Ticket #921 (null pointer dereference not detected 'a = 0; a->foo();') created by ettlmartin
[…]
16:14 Ticket #920 (new style check: find empty catch blocks) created by ettlmartin
[…] It would be great, if cppcheck could raise a warning when an empty …
16:07 Ticket #919 (possible memory leak not detected) created by ettlmartin
[…] if foo is called foo(1), a memory leak happens;
15:49 Ticket #918 (uninitialized pointer usage not detected 'int *p; *p = 135;') created by ettlmartin
[…]
15:21 Ticket #917 (improve output on divison of signed and unsigned operators) created by ettlmartin
cppcheck warns about following code […] it prints the following …
15:11 Ticket #916 (false positive: memory leak) created by ettlmartin
during a scan of the linux kernel(linux-2.6.31.5/drivers/rtc/rtc-ep93xx.c) …
14:41 Ticket #915 (false positive: memory leak for struct member (allocated in condition)) created by ettlmartin
found during scan of the linux kernel …
14:23 Ticket #914 (improve check: usage of uninitialized variable) created by ettlmartin
[…] currently cppcheck does not trigger a warning about this issue
14:13 Ticket #913 (false positive: uninitialized variable) created by ettlmartin
found during check of the linux kernel …
09:12 Ticket #912 (### Unlogged error at Tokenizer::syntaxError: Invalid number of character ...) created by aggro80
Not sure what is wrong, but the error is clearly not what we should give …
06:32 Ticket #910 (false positive: uninitialized variable for array) closed by hyd_danmar
fixed: Fixed by: …
03:17 Ticket #911 (Check for unnecessary casts) created by robertreif
Check for unnecessary casts or conversions. Consider: int a, b; b = …
03:12 Ticket #910 (false positive: uninitialized variable for array) created by ettlmartin
[…] […]

11/07/09:

14:23 Ticket #908 (Uninitialized variables: allocated memory) closed by hyd_danmar
fixed: Fixed by: …
12:58 Ticket #906 (out of bounds not detected when copy a string) closed by ettlmartin
worksforme: Ok, i updated to latest git version. Now the Warnings appear as they …
12:26 Ticket #909 (improve check: out of bounds of memchr function and out of bounds check) created by ettlmartin
[…] http://www.cplusplus.com/reference/clibrary/cstring/memchr/
08:15 Ticket #905 (memory leak not detected when using puts) closed by hyd_danmar
fixed: Fixed by: …
07:32 Ticket #908 (Uninitialized variables: allocated memory) created by hyd_danmar
Allocated memory is often uninitialized. So we could try to detect the …
07:30 Ticket #907 (Tokenizer: known result of strlen) closed by hyd_danmar
fixed: Updated the Tokenizer handling of strlen with: …
00:23 Ticket #907 (Tokenizer: known result of strlen) created by ettlmartin
[…]

11/06/09:

23:38 Ticket #906 (out of bounds not detected when copy a string) created by ettlmartin
[…] […]
23:24 Ticket #905 (memory leak not detected when using puts) created by ettlmartin
[…] […]
22:59 Ticket #903 (segmentation fault of cppcheck) closed by aggro80
fixed: Fixed by: …
15:50 Ticket #904 (false positive: uninitialized variable:) closed by hyd_danmar
fixed: Fixed by: …
15:03 Ticket #902 (false positive: uninitialized variable when variable is initialized in ...) closed by hyd_danmar
fixed: Fixed by: …
Note: See TracTimeline for information about the timeline view.