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

Timeline


and .

07/01/12:

07:27 Ticket #3925 (1.55 Windows installer is broken) created by kimmov
Seems new 1.55 Windows installer is broken. I had 1.53 installed …
07:06 WikiStart edited by danielmarjamaki
updated svn checkout url (diff)
06:58 WikiStart edited by danielmarjamaki
1.56 release date (diff)

06/30/12:

16:35 Milestone 1.55 completed
Cppcheck can now analyse source files that are UTF-16 encoded Faster …
13:46 Ticket #2773 (memory leak: simple leak not detected when function parameter is assigned) closed by danielmarjamaki
fixed: Thank you damorin for that info. I'll close this as fixed then.
10:22 Ticket #3924 (False positive: Uninitialized variable (const pointer)) closed by danielmarjamaki
fixed: Fixed by: …

06/29/12:

08:02 Ticket #3924 (False positive: Uninitialized variable (const pointer)) created by danielmarjamaki
A false positive is reported for this code: […] The false positive is: …
04:40 Ticket #3777 (Analysis failed. If the code is valid then please report this failure.) closed by danielmarjamaki
duplicate: This is a duplicate of #3643
04:39 Ticket #3736 (Analysis failed. If the code is valid then please report this failure.) closed by danielmarjamaki
duplicate: this is a duplicate of #3643

06/28/12:

23:06 Ticket #3923 (false negative: (error) Possible null pointer dereference: p) created by ettlmartin
Found during debugging a code of a state machine (extract from real code): …
14:48 Ticket #3922 (false positive: (error) null pointer dereference) created by phi001
This error might be related to #3914. […] […]

06/27/12:

18:46 Ticket #3916 (false positive: uninitialized variable when using assignment and , in rhs) closed by danielmarjamaki
fixed: Fixed by: …
10:23 Ticket #3921 (False positive: Uninitialized variable on assigning on type in namespace) created by dpinol
I get (error) Uninitialized variable: secsEl I think that if Element …
07:31 Ticket #3920 (Add list of implemented checks to manual) created by amaigil2
The list of implemented checks …

06/26/12:

16:31 Ticket #3919 (False positive: uninitialized variable (extern)) closed by danielmarjamaki
fixed: Fixed by: …
10:46 Ticket #3919 (False positive: uninitialized variable (extern)) created by danielmarjamaki
There is a false positive for such a code: […] False positive: […]
08:05 Ticket #2754 (Option to list configurations) closed by kimmov
duplicate: Duplicate of ticket #3555.
08:03 Ticket #3918 (Enhance check: obsolete interfaces mktemp(), utimes()) created by amaigil2
The attached diff was created against 2012-06-26. I've added 2 more checks …
07:36 Ticket #3458 (Deprecate Information severity and add own function for it) closed by kimmov
fixed
07:10 Ticket #3884 (Different amount of tests run with QtCreator build and VS build) closed by kimmov
fixed: Resolving as fixed as the VS project was updated and test file listing for …
07:07 Ticket #3885 (dmake needs to create a list of test files for qmake) closed by kimmov
fixed: Dan pulled the request to master in commit: …

06/25/12:

19:10 Ticket #3917 (64-bit targets don't work with VS2010 Express) closed by kimmov
invalid: > it seems a common issue with VC++ Express for x64 builds Sigh. No, I've …
18:02 Ticket #3660 (False positive memleak (allocation function uses non-local variable)) closed by danielmarjamaki
fixed: Fixed by: …
17:12 Ticket #3917 (64-bit targets don't work with VS2010 Express) created by kimmov
Don't know if this is combination (VS2010 Express) and 64-bit build is …
12:45 Ticket #3916 (false positive: uninitialized variable when using assignment and , in rhs) created by danielmarjamaki
Example code: […] Cppcheck report this false positive: […]
08:36 Ticket #3915 (false negative: (error) Buffer overrun of index in while loop) created by ettlmartin
[…] cppcheck does not find the buffer overrun. […]
07:56 Ticket #3914 (false positive null pointer dereference, assignment in conditional) created by jtaylor108
in current git head f5c42660 […]
07:42 Ticket #3913 (boundcheck, false positive continue in loop) created by jtaylor108
with current git HEAD f5c42660dec3 following code outputs: (error) Array …

06/24/12:

21:22 Ticket #3912 (Analysis failed) created by thomas
Analysis fails for the attached header file. [ts@roadrunner src]$ …
16:57 Ticket #3909 (false positive: error (useClosedFile): Used file that is not opened. ...) closed by pkeus
fixed: Fixed by: …
16:52 Ticket #3911 (Simplify initialization with constructor syntax for builtin types) created by pkeus
We should consider to simplify this code […] to […] because this …
14:55 Ticket #3910 (False positive: Variable is not assigned a value (pointerArray alias)) closed by danielmarjamaki
fixed: Fixed by: …
11:31 Ticket #3910 (False positive: Variable is not assigned a value (pointerArray alias)) created by thomas
A false positive "variable is not assigned a value" occurs in the attached …

06/23/12:

22:01 Ticket #3873 (false positive: (error) Uninitialized variable: Range) closed by ettlmartin
fixed: Replying to danielmarjamaki: > I fail to reproduce this with …
18:17 Ticket #3904 (false positive memory leak with linked list) closed by danielmarjamaki
fixed: Fixed by: …
17:55 Ticket #3868 (false positive: (style) Same expression on both sides of '|'.) closed by danielmarjamaki
fixed: Fixed by: …
13:17 Ticket #3879 (New check: local variable that can be non-static) closed by danielmarjamaki
invalid: The variable might be static to allow it to be monitored from outside. …
07:24 Ticket #3907 (improve check: detect buffer overrun when using && or || in for loop) closed by danielmarjamaki
fixed: Fixed by: …

06/22/12:

14:40 Ticket #3909 (false positive: error (useClosedFile): Used file that is not opened. ...) created by amaigil2
Only(!) the first fputs() triggers the "error (useClosedFile): Used file …
14:27 Ticket #3906 (false positive uninitvar for vector pointer) closed by danielmarjamaki
fixed: Fixed by: …
14:22 Ticket #3908 (new warning: improper initialization) created by amaigil2
In the given example below temp is not proper initialized, though …
14:12 Ticket #3901 (false positive: (error) Uninitialized variable: temp) closed by danielmarjamaki
fixed: > 1st and 3rd are probably the expected results(?), what about the 2nd? …
12:39 Ticket #3901 (false positive: (error) Uninitialized variable: temp) reopened by amaigil2
Replying to amaigil2: > Replying to [comment:3
09:25 Ticket #3800 (False negative: Self-assignement of variable declared as 'extern') closed by danielmarjamaki
fixed: Fixed by: …
07:12 Ticket #3895 (Improve check: double deallocation not detected (if-else)) closed by danielmarjamaki
fixed: > I think that the fix in the attached 3895.diff is probably the best fix. …
06:23 Ticket #3907 (improve check: detect buffer overrun when using && or || in for loop) created by danielmarjamaki
Here is an example code: […] No error is reported. Unless i<10

06/21/12:

13:20 Ticket #3906 (false positive uninitvar for vector pointer) created by stefanrohleder
int main(int argc, char *argv[]) { std::vector<int>* intVectorPointer …
09:59 Ticket #3905 (false negative: (error) Buffer overrun (loop variable is changed in loop ...) created by ettlmartin
related to #3898 cppcheck does not detect the buffer access out of bounds …

06/20/12:

21:43 Ticket #3904 (false positive memory leak with linked list) created by poopbushy
cppcheck spits out a memory leak error with the following code […] …
17:06 Ticket #567 (strcpy|strcat|sprintf functions with getenv() may overrun buffer) closed by danielmarjamaki
wontfix: I agree, so I close this.
15:10 Ticket #3899 (false positive: (error) Returning/using deallocated pointer fp) closed by danielmarjamaki
fixed: Fixed by: …

06/19/12:

21:58 Ticket #3903 (false negative: resource leak) created by ettlmartin
[…] […]
21:35 Ticket #3902 (false negative: memory leak) created by ettlmartin
surprisingly, cppcheck does not detect this memory leak: […] […]
18:08 Ticket #3901 (false positive: (error) Uninitialized variable: temp) closed by danielmarjamaki
fixed: Fixed by: …
18:06 Ticket #3890 (False positive Uninitialized variable on returning default value on a ...) closed by danielmarjamaki
fixed: Fixed by: …

06/18/12:

19:23 Ticket #3901 (false positive: (error) Uninitialized variable: temp) created by ettlmartin
[…] […]
16:06 Ticket #3900 (New check: warn about implicit conversion to (possibly) smaller type) created by kimmov
Related tickets: #2123 and #3469 at least. In #2123 we have conversions …
12:37 Ticket #3899 (false positive: (error) Returning/using deallocated pointer fp) created by ettlmartin
[…] […]
11:56 Ticket #3898 (false negative: (error) Buffer overrun - complex for-loop condition) created by ettlmartin
[…] currently cppcheck does not detect the buffer access out of bounds …
07:41 Ticket #3897 (segmentation fault of cppcheck) created by ettlmartin
instead of crashing a syntax error should be returned: […] […]

06/17/12:

13:18 Ticket #3896 (false negative: memory leak (allocating class with new[])) created by ettlmartin
[…] […]
13:14 Ticket #3858 (Throw exception in destructor BUT inside a try-catch shouldn't be reported) closed by danielmarjamaki
fixed: fixed by: …
06:04 Ticket #3895 (Improve check: double deallocation not detected (if-else)) created by danielmarjamaki
No error is reported for this code: […]
05:55 Ticket #3866 (false positive: memory leak (UNLIKELY)) closed by danielmarjamaki
fixed: Fixed by: …

06/16/12:

15:46 Ticket #3893 (Improve check: Array index out of bounds not detected when down conting) closed by danielmarjamaki
fixed: Fixed by: …

06/15/12:

15:08 Ticket #3892 (False positive: "if (var >= 0.0) then if (var >= 0.0) always returns ...) closed by danielmarjamaki
fixed: Fixed by: …
13:50 Ticket #3894 (False negative: Memory leaks not found) created by amaigil2
The following snippet shows 2 false negative reports about memory leaks …
09:08 Ticket #3893 (Improve check: Array index out of bounds not detected when down conting) created by matusan
Array index out of bounds not detected when the initial value of index is …

06/14/12:

20:05 Ticket #3875 (Static member method called with class name is considered unused) closed by danielmarjamaki
fixed: Fixed by …
19:48 Ticket #3723 (Preprocessor evaluation order) closed by danielmarjamaki
fixed: Fixed by: …
16:40 Ticket #3882 (VS2010 warnings from tests with current HEAD) closed by pkeus
fixed: Fixed by: …
15:45 Ticket #3892 (False positive: "if (var >= 0.0) then if (var >= 0.0) always returns ...) created by silverstorm82
The code […] results in the error message "Redundant condition: If …
08:09 Ticket #3891 (False positive "Double deallocation:" due to ((void*)1)) created by dpinol
Hi, the problem does not occur if function returns void. thanks […]
07:52 Ticket #3890 (False positive Uninitialized variable on returning default value on a ...) created by dpinol
Hi, I get "(error) Uninitialized variable: ret" on the code below. I don't …

06/13/12:

17:33 Ticket #3855 (false positive: (error) Instance of "locale" object destroyed immediately) closed by danielmarjamaki
fixed: Fixed by: …
17:13 Ticket #3861 (Uninitialized variables) closed by danielmarjamaki
fixed: Fixed by: …

06/12/12:

19:08 Ticket #3618 (segmentation fault of cppcheck) closed by danielmarjamaki
fixed: I applied your patch with: …
16:49 Ticket #3750 (false positive: C-style pointer casting) closed by danielmarjamaki
fixed: Fixed by: …

06/11/12:

16:32 Ticket #3475 (False positive: Memory leak: data) closed by danielmarjamaki
fixed: The CheckLeaksAutoVar? now warns when returning a deallocated pointer: …
15:42 Ticket #3889 ((style) 'locale::operator=' should return 'locale &') created by ettlmartin
When including system headers …
13:23 Ticket #3888 (False negative: memory leak through member function) created by yoshigev
Using the following code: […] A memory leak is only detected for …
11:51 Ticket #3887 (Can't update Makefile in Windows with dmake) created by kimmov
Even though you build dmake in Windows you can't use it to update …
11:19 Ticket #3886 (New Check : Return value of "new" ignored) created by tehuser
Hi, I found something similar to the following whilst reviewing some …
10:37 Ticket #3885 (dmake needs to create a list of test files for qmake) created by kimmov
Currently dmake creates a list of lib files for qmake so the …
09:05 Ticket #3883 (CLI help overflows in 80-char wide console) closed by pkeus
fixed: Fixed by: …
09:04 Ticket #3884 (Different amount of tests run with QtCreator build and VS build) created by kimmov
With current HEAD, compiling and running tests, I see with VS2010 build: …
08:52 Ticket #3883 (CLI help overflows in 80-char wide console) created by kimmov
[…] Note the single 's' at begin of the last line.
08:44 Ticket #3882 (VS2010 warnings from tests with current HEAD) created by kimmov
When compiling tests with VS2010 I get these warnings: […] and […]
04:36 Ticket #3683 (Web democlient: crashes with invalid input) closed by danielmarjamaki
worksforme: I don't see a crash with "void()"
00:53 Ticket #3876 (Error (double free) detected that can't possibly happen) closed by zacblair
fixed: Fixed by, …

06/10/12:

19:53 Ticket #3579 (object destroyed immediately:False positive & negative:) closed by danielmarjamaki
fixed: Thank you for the patch. I applied it with some modifications with: …
16:26 Ticket #3881 (GUI: Implement support for using cppcheck as dynamic library) created by pkeus
Commit …
13:06 Ticket #3880 (GUI: Icons in menu don't look good in dark Ubuntu menu) created by kimmov
The icons have been designed for white and/or light background and dark …
12:20 Ticket #3164 (Improve VS build environment) closed by pkeus
fixed: I have committed the new solution. Please let me know if you experience …

06/09/12:

13:01 Ticket #3879 (New check: local variable that can be non-static) created by danielmarjamaki
I have seen this mistake a few times in different projects (both at work …
09:10 Ticket #3874 (False positive initializing a pointer array) closed by danielmarjamaki
worksforme: I fail to reproduce with latest git head. But I can reproduce with 1.54.
06:44 Ticket #3878 (Sign extension with unsigned char false positive) closed by danielmarjamaki
fixed: Fixed by: …
00:21 Ticket #3878 (Sign extension with unsigned char false positive) created by nyamatongwe
Oring a dereferenced unsigned char * into an int displays this warning: …

06/08/12:

15:29 Ticket #3872 ("char variables in bit operations" warning) closed by danielmarjamaki
fixed: Fixed by: …
14:20 Ticket #3869 (References to items in array result it "Uninitialized variable" errors) closed by danielmarjamaki
fixed: Fixed by: …
12:27 Ticket #3877 ((f)scan(f) with assignement suppressor causes warning) created by mrfalsepositive
The following code: […] causes the warning "scanf without field width …
12:23 Ticket #3876 (Error (double free) detected that can't possibly happen) created by mrfalsepositive
Code example: […] Cppcheck reports this false positive: […]
12:18 Ticket #3875 (Static member method called with class name is considered unused) created by mrfalsepositive
Code example: […] The function 'false_positive' is called.
09:07 Ticket #3874 (False positive initializing a pointer array) created by uwe-sieber
int * pIntArray[10]; memset(pIntArray, 0, sizeof(pIntArray)); This is …

06/07/12:

17:44 Ticket #3865 (Suspicious condition. The result of find is an iterator, but it is not ...) closed by danielmarjamaki
fixed: Fixed by: …

06/06/12:

23:20 Ticket #3873 (false positive: (error) Uninitialized variable: Range) created by ettlmartin
found by running against current git-head of llvm-compiler(file: …
19:56 Ticket #3353 (Allow explicit undef's for configuration) reopened by g-makulik
18:41 Ticket #3872 ("char variables in bit operations" warning) created by asmaloney
The following code results in a warning about using char variables even …
18:24 Ticket #3792 (Internal error. Token::Match called with varid 0.) closed by danielmarjamaki
worksforme: I'll close this as worksforme since we didn't get info about how it can be …
10:10 Ticket #3863 (false positive: (performance) Variable 'm_pSem' is assigned in constructor ...) closed by ettlmartin
invalid: Ok i see. Sorry for that, i'll close this ticket a invalid

06/05/12:

19:37 Ticket #3871 (false negative: buffer access out of bounds on local array) created by ettlmartin
[…] […]
04:39 Ticket #3854 (false positive: (style) Variable '_S_c_name' is assigned a value that is ...) closed by danielmarjamaki
fixed: Fixed by: …

06/04/12:

21:04 Ticket #3870 (segmentation fault of cppcheck on wrong syntax) created by ettlmartin
[…] […]
19:58 Ticket #3869 (References to items in array result it "Uninitialized variable" errors) created by asmaloney
I've run across some code with a peculiar style and they use references a …
19:55 Ticket #3868 (false positive: (style) Same expression on both sides of '|'.) created by ettlmartin
[…] […]
19:46 Ticket #3867 (Analysis failed. If the code is valid then please report this failure.) created by ettlmartin
scanning …
08:42 Ticket #3866 (false positive: memory leak (UNLIKELY)) created by ettlmartin
[…] […]

06/03/12:

15:11 Ticket #3370 (New check: memory leak (alloc => assign)) closed by danielmarjamaki
fixed: This is detected by the CheckLeakAutoVar?.

06/02/12:

14:16 Ticket #3544 (segmentation fault of cppcheck) closed by danielmarjamaki
fixed

06/01/12:

17:21 Ticket #3864 (false positive double deallocation) closed by danielmarjamaki
duplicate: duplicate of #3862
17:15 Ticket #3809 (false positive: memory leak) closed by danielmarjamaki
fixed: Fixed by: …
17:12 Ticket #3862 (Double deallocation does not take throws into account) closed by danielmarjamaki
fixed: Fixed by: …
12:41 Ticket #3865 (Suspicious condition. The result of find is an iterator, but it is not ...) created by stefanrohleder
bool done = false; std::vector<int> myvector; …
12:28 Ticket #3864 (false positive double deallocation) created by stefanrohleder
int i; int j; FILE* file = fopen("/path/to/some/file", "r"); …
Note: See TracTimeline for information about the timeline view.