Timeline


and .

08/01/11:

09:05 Ticket #2953 (Shows warning if only some branches check for null functions results.) created by silamantex
Hello! Warning for next case will be useful: […] if some branches …
07:37 Ticket #2908 (common logic when using bitwise and) closed by hyd_danmar
fixed: Fixed by: …
05:52 Ticket #2789 (null pointer: problems not detected when pointer is assigned and checked ...) closed by hyd_danmar
fixed: Fixed by: …
01:38 Ticket #1710 (false negative: Uninitialized variables x and y 'return x ? 1 : y;') closed by robertreif
duplicate: Duplicate of #2146.
01:34 Ticket #2146 (uninitialized variable: false negative for 'return x ? 1 : y;') closed by robertreif
fixed: fixed by …

07/31/11:

17:47 Ticket #2404 (cppcheck consumes too much memory in some cases) closed by hyd_danmar
fixed: I close this as fixed. I scanned uclmmbase also and saw no problem.
17:27 Ticket #2911 (Token::Match(tok, "%oror%|&&") doesn't match "&&") closed by robertreif
fixed: fixed by …
16:27 Ticket #2927 (fdopen false positive) closed by hyd_danmar
duplicate: I don't know.. I fail to reproduce: […] So for me it seems that this …
16:23 Ticket #2900 (found memory leak in kernel p54usb and a false positive reported) closed by hyd_danmar
invalid: sorry.. but I need a reduced code example or at least a link so I can …
15:21 Ticket #2909 (common logic when using bitwise and in assignment) closed by hyd_danmar
fixed: I close this now. The check can be tweaked much more but the basic …
12:08 Ticket #2935 (possible null pointer dereference when using strcpy etc) closed by hyd_danmar
fixed: Fixed by: …

07/30/11:

17:52 Ticket #2788 (null pointer: dereference and then check 'if (abc->a == 3) { } if (!abc) ...) closed by hyd_danmar
fixed: Fixed by: …
15:23 Ticket #2877 (Valgrind reports read-after-free in ...) closed by hyd_danmar
duplicate: I assume this is a duplicate of #2817
13:18 Ticket #2952 (CLI option --posix is wrong) created by kimmov
CLI option --posix was added in ticket #2949. It was already …
13:03 Ticket #2800 (Regression: Duplicate error messages for header files) closed by hyd_danmar
wontfix: This is a regression, however I don't consider it to be very serious. …
12:49 Ticket #1593 (false negative: the function can be declared as const) closed by robertreif
fixed: fixed by …
11:12 Ticket #2951 (Small code factorization in checkmemoryleak.cpp) closed by hyd_danmar
fixed: Thanks! I applied your patch with: …
09:49 Ticket #2951 (Small code factorization in checkmemoryleak.cpp) created by simartin
Hello, The attached patch gets rid of a bsearch in call_func_white_list …

07/29/11:

21:41 Ticket #2936 (Get rid of some -Wfloat-equal warning) closed by ettlmartin
fixed
21:41 Ticket #2950 (Warning compiling lib/mathlib.cpp) closed by ettlmartin
fixed
19:08 Ticket #2950 (Warning compiling lib/mathlib.cpp) created by kimmov
With current git head I get a warning from lib/mathlib.cpp: […]
16:30 Ticket #2949 (new check: (style) finding non-reentrant functions) closed by ettlmartin
fixed: Replying to hyd_danmar: > This patch seems ok. Feel free to …

07/28/11:

21:40 Ticket #2949 (new check: (style) finding non-reentrant functions) created by ettlmartin
this article http://www.unix.org/whitepapers/reentrant.html inspired me to …
06:36 Ticket #2915 (GUI: Show time remaining estimate in progress bar) closed by zacblair
fixed: Fixed by, …
05:29 Ticket #2821 (New Check : bool pointer null truth assignment) closed by hyd_danmar
fixed: Fixed by: …

07/27/11:

16:04 Ticket #2947 (False positive: member variable is not initialized (a[x::y] = 0;)) closed by robertreif
fixed: fixed by …
15:24 Ticket #2943 (Symbol database: Wrong parsing of std::vector as base class.) closed by robertreif
fixed: fixed by …
14:23 Ticket #2948 (Segmentation fault while scanning Firefox source code (details in ...) created by martinzember
The bug that causes segfault is in Cppcheck in the file …
08:45 Ticket #1514 (Improve CheckAutoVariables: assign autovariable address to effective ...) closed by hyd_danmar
invalid: Closing as invalid.
08:45 Ticket #1514 (Improve CheckAutoVariables: assign autovariable address to effective ...) reopened by hyd_danmar
I reverted the fix with: …
08:44 Ticket #2944 (False positive: assigning address of local auto-variable to a function ...) closed by hyd_danmar
fixed: Fixed by: …
08:35 Ticket #2946 (False positive: Uninitialized buffer variable (init in subfunction)) closed by hyd_danmar
fixed: Fixed by: …
08:28 Ticket #2775 (Uninitialized variable: Not detected when uninitialized struct pointer is ...) reopened by hyd_danmar
This is not easy to fix. Passing a valid pointer to 'a' is ok but not a …
05:51 Ticket #2947 (False positive: member variable is not initialized (a[x::y] = 0;)) created by hyd_danmar
I get a false positive for this code: […] The false positive: […]

07/26/11:

20:02 Ticket #2944 (False positive: assigning address of local auto-variable to a function ...) reopened by dpinol
afaik, there's no way to leak an address using a pointer argument. For …
19:35 Ticket #2945 (False positive: Uninitialized variable reading from stream) closed by hyd_danmar
fixed: Fixed by: …
17:58 Ticket #2944 (False positive: assigning address of local auto-variable to a function ...) closed by hyd_danmar
invalid: The reason for the error message is that after "myint" goes out of scope …
14:52 Ticket #2946 (False positive: Uninitialized buffer variable (init in subfunction)) created by dpinol
I get this error when I run the code below. I think the code is ok. […] …
14:03 Ticket #2945 (False positive: Uninitialized variable reading from stream) created by dpinol
With this code... […] ...I get this error […] I think I only get it …
13:55 Ticket #2944 (False positive: assigning address of local auto-variable to a function ...) created by dpinol
I don't understand why this is a bug. I get (error) Assigning address of …
07:51 Ticket #2943 (Symbol database: Wrong parsing of std::vector as base class.) created by altren
[…] […]
07:43 Ticket #2942 (segmentation fault of cppcheck ( #elif (){ )) created by ettlmartin
the following garbage code lets cppcheck crash […] […]

07/25/11:

19:43 Ticket #2812 (false negative: null pointer dereference when returning struct member) closed by hyd_danmar
fixed: Fixed by: …
14:40 Ticket #2796 (uninitialized and leaving scope) closed by hyd_danmar
fixed: Fixed by: …
13:47 Ticket #2681 (False negative: Possible null pointer dereference) closed by hyd_danmar
fixed: Fixed by: …
12:32 Ticket #2642 ("if (pointer)" and "if (pointer != 0)" treated as different things) closed by hyd_danmar
fixed: ok closing it.
11:46 Ticket #2941 (False positive: unused function (individual checking of files)) closed by hyd_danmar
fixed: Fixed by: …
11:16 Ticket #2941 (False positive: unused function (individual checking of files)) created by hyd_danmar
The checking for unused functions doesn't work anymore since each file is …

07/24/11:

20:39 Ticket #2940 (Uninitialized variable not detected when part of expression in conditional) created by salty-horse
This is similar to #2938, which was specific to return statements The …
20:30 Ticket #2939 (False negative: NULL pointer dereference in return statement) created by hyd_danmar
This is related with #2938 No error is written for this code: […]
20:28 Ticket #2938 (Uninitialized variable not detected when part of expression) closed by hyd_danmar
fixed: Fixed by: …
18:12 Ticket #2938 (Uninitialized variable not detected when part of expression) created by salty-horse
Using latest 9a4447c. No report is generated for this faulty code: …
17:43 Ticket #2937 (Scope::checkVariable found variable 'sMMF' with varid 0.) created by robertreif
This code: […] produces this: […]
16:17 Ticket #2936 (Get rid of some -Wfloat-equal warning) created by simartin
Compiling lib/mathlib.cpp with GCC yields two warnings because of equality …
15:17 Ticket #2935 (possible null pointer dereference when using strcpy etc) created by hyd_danmar
A warning should be written for such code: […]
14:42 Ticket #2903 (missingInclude detected in untested configuration) closed by hyd_danmar
duplicate: I agree. It's a duplicate of #2858
14:10 Ticket #2921 (False positive: Memory leak with static pointer) closed by hyd_danmar
fixed: Fixed by: …
12:54 Ticket #2933 (Postfix operator check fails to warn for structs) closed by hyd_danmar
fixed: I applied your patch with: …
11:34 Ticket #2817 (valgrind errors in simplifyTemplate when running tests) closed by hyd_danmar
fixed: Fixed by: …
07:24 Ticket #2929 (Additional Unused variable check) closed by hyd_danmar
fixed: yes that would be a duplicate.
07:20 Ticket #2934 (improve unsigned division: check if svar is negative and then divide it ...) created by hyd_danmar
A warning could be written for such code: […] The code indicates that …
07:13 Ticket #2932 (segmentation fault of cppcheck ( i / i )) closed by hyd_danmar
fixed: Thanks! I applied your patch: …

07/23/11:

22:14 Ticket #2929 (Additional Unused variable check) reopened by richardn26
thanks, this fix looks good. But could it also give same warning for this …
07:22 Ticket #2933 (Postfix operator check fails to warn for structs) created by simartin
No warning is given for snippets like ==== struct K {}; void foo() { …

07/22/11:

21:26 Ticket #2932 (segmentation fault of cppcheck ( i / i )) created by ettlmartin
cppcheck crashes on following garbage code: […] […] Without …
12:34 Ticket #2931 (another false negative in auto variables checking when function parameter ...) closed by robertreif
fixed: fixed by …
06:01 Ticket #2873 (segmentation fault of cppcheck while scanning rose-compiler suite) closed by hyd_danmar
fixed: Fixed by: …
05:11 Ticket #2931 (another false negative in auto variables checking when function parameter ...) created by hyd_danmar
See also : #2926 A warning should be given for this code: […]
05:04 Ticket #2930 (new check: redundant assignment of pointer function parameter) created by hyd_danmar
I don't think I've seen this mistake in real code. But I have seen this …
02:39 Ticket #1514 (Improve CheckAutoVariables: assign autovariable address to effective ...) closed by robertreif
fixed: fixed by …
02:28 Ticket #2926 (false negative in auto variables checking when function parameter is a ...) closed by robertreif
fixed: fixed by …

07/21/11:

22:39 Ticket #2929 (Additional Unused variable check) closed by robertreif
fixed: fixed by …
22:22 Ticket #2928 (False positive (static variable misinterpreted as auto variable)) closed by robertreif
fixed: fixed by …
19:46 Ticket #2929 (Additional Unused variable check) created by richardn26
Is it possible to warn about unused std::string variable in this example? …
19:25 Ticket #2928 (False positive (static variable misinterpreted as auto variable)) created by stweil
The following correct code raises a cppcheck error message. […] …
17:10 Ticket #2927 (fdopen false positive) created by davidvolgyes
cppcheck 1.49 produces false positive for fdopen. The correct usage of …
14:32 Ticket #2873 (segmentation fault of cppcheck while scanning rose-compiler suite) reopened by ettlmartin
Sorry, but it seems that it is not entirely fixed. Scanning the provided …
14:18 Ticket #2899 (cppcheck crash (segfault) caused by wrong tokenization) closed by hyd_danmar
fixed: Fixed by: …
14:15 Ticket #2885 (crash of cppcheck while checking gcc-testsuite) closed by hyd_danmar
fixed: Fixed by: …
12:51 Ticket #2856 (--errorlist not printing all auto-variable errors) closed by hyd_danmar
fixed: Fixed by: …
11:35 Ticket #2848 (False positive: Memory leak when assigning and freeing from another struct) closed by hyd_danmar
fixed: Fixed by: …
07:52 Ticket #2891 (False positive: Test<int>::operator=' should return 'Test<int> &) closed by hyd_danmar
invalid: I change your code example so no template is used.. […] And now no …
07:35 Ticket #2880 (Commandline option -i not working) closed by hyd_danmar
worksforme: I am unable to reproduce. And there is no response.
07:33 Ticket #2897 (out of bounds false positive, using reinterpret_cast) closed by hyd_danmar
fixed: Fixed by: …
06:35 Ticket #2850 (Inline suppressions not documented in manual) closed by hyd_danmar
fixed: Fixed by: …
05:11 Ticket #2092 (new style check: new() doesn’t return NULL) closed by hyd_danmar
duplicate: duplicate of #363 and #602
04:53 Ticket #2926 (false negative in auto variables checking when function parameter is a ...) created by hyd_danmar
The checking that warns if the address of a local auto variable is …

07/20/11:

23:05 Ticket #2925 (False negative: auto variables - assigning address of array to function ...) closed by robertreif
fixed: fixed by …
21:52 Ticket #2794 (Improper hanling of preprocessor directives #if defined) closed by hyd_danmar
fixed: Fixed by: …
16:55 Ticket #2925 (False negative: auto variables - assigning address of array to function ...) created by hyd_danmar
The auto variables check warns if the address of a local auto variable is …
10:41 Ticket #2923 (GUI: Filter toolbar menu items not synchronized) closed by kimmov
fixed: Fixed by commit: …
10:41 Ticket #2922 (GUI: Filter toolbar does not have a title) closed by kimmov
fixed: Fixed by commit: …
09:14 Ticket #2924 (Unable to turn on unused function detection from command line) closed by hyd_danmar
fixed: > P.S. Most likely the problem is the Settings::addEnabled() which uses …
08:23 Ticket #2924 (Unable to turn on unused function detection from command line) created by divis1969
Version 1.49 (also present in 1.47, 1.48). Option …
06:02 Ticket #2920 (False positive: Array 'arr[0]' index 0 out of bounds (array size and index ...) closed by hyd_danmar
fixed: Fixed by: …
05:29 Ticket #2902 (False positive Memory leak on assignment into an if) closed by hyd_danmar
invalid: I assume this is invalid. If you disagree then feel free to reopen.

07/18/11:

20:21 Ticket #2923 (GUI: Filter toolbar menu items not synchronized) created by ineedalifetoday
View -> Toolbars -> Filter Right click in the GUI -> "toolBar" If you …
20:18 Ticket #2922 (GUI: Filter toolbar does not have a title) created by ineedalifetoday
View -> Toolbars -> Filter Right click in the GUI, and its called …
20:03 Ticket #2921 (False positive: Memory leak with static pointer) created by aggro80
This example does not leak (tested with valgrind) yet error is reported: …
19:45 Ticket #2917 (Problem with || in #if) closed by hyd_danmar
fixed: Fixed by: …
16:41 Ticket #2920 (False positive: Array 'arr[0]' index 0 out of bounds (array size and index ...) created by aggro80
[…] […] One way to fix this is to simplify BSize as currently it …

07/17/11:

22:37 Ticket #2827 (false negative: gui/resultstree.cpp:271 condition always false) closed by robertreif
fixed: I'm going to close this ticket because we now detect the questionable …
20:36 ErrorMessages edited by aggro80
(diff)
17:16 Ticket #2918 (#error not being reported when not using -D) closed by hyd_danmar
invalid: This is by intention. The configurations that contain #error will normally …
14:47 Ticket #2919 (Wrong file name reported with #error in header) created by kidkat
It seems recently the reported file name is wrong. It seems it will not …
14:45 Ticket #2918 (#error not being reported when not using -D) created by kidkat
Without any defines specified on the command-line a file containing #error …
14:18 Ticket #2917 (Problem with || in #if) created by kidkat
This code […] reports […] If you remove the additional "||" …
11:25 Ticket #2916 (Wrong slashes in file path passed to the Windows-text editors) closed by kimmov
fixed: Fixed by the commit: …
10:30 Ticket #2916 (Wrong slashes in file path passed to the Windows-text editors) created by sinigersky
The initial symptom was that UltraEdit? stopped launching correctly from …
09:18 Ticket #2915 (GUI: Show time remaining estimate in progress bar) created by zacblair
Currently, when checking all of the files in a directory, the progress bar …
07:02 Ticket #2914 (conditions that are always true/false: doesn't detect subconditions) created by hyd_danmar
This is related with: #2827 There are false negatives for subconditions. …
00:33 Ticket #2910 (mutual exclusion: 'x > 3 || x < 10') closed by robertreif
duplicate: Duplicate of #2827 since #2827 is being made generic and will handle this …

07/16/11:

17:40 Ticket #2913 (Open Containing Folder) created by bluefire101
Just a feature request to allow a context item called "Open in Containing …
17:34 Ticket #2873 (segmentation fault of cppcheck while scanning rose-compiler suite) closed by hyd_danmar
fixed: Fixed by: …
16:53 Ticket #2894 (False Positive: Initialising an extern fixed-size array causes a false ...) closed by hyd_danmar
duplicate: I can't reproduce. This seems to be a duplicate of #1684.
15:36 Ticket #2791 (Warn about assigning a pointer to int/long type) closed by hyd_danmar
fixed: I won't do more about this right now. It has the basic functionality. So …
15:12 Ticket #2912 (false positive: (portability) Assigning an integer (int/long/etc) to a ...) closed by hyd_danmar
fixed: Fixed by: …
15:00 Ticket #2871 (Define in source not set when -D is used) closed by hyd_danmar
fixed: Fixed by: …
14:32 Ticket #2912 (false positive: (portability) Assigning an integer (int/long/etc) to a ...) created by robertreif
This code: […] produces this false positive: […]
11:32 Ticket #2911 (Token::Match(tok, "%oror%|&&") doesn't match "&&") created by robertreif
A test case has been committed here: …
09:38 Ticket #2910 (mutual exclusion: 'x > 3 || x < 10') created by hyd_danmar
This is related to #2105. The condition below is always true: […] …
07:28 Ticket #2803 (Preprocessor doesn't properly handle &&) closed by hyd_danmar
fixed: Fixed by: …

07/15/11:

20:48 Ticket #2909 (common logic when using bitwise and in assignment) created by hyd_danmar
This is related with #2700 and #2908. Code example: […] The condition …
20:33 Ticket #2908 (common logic when using bitwise and) created by hyd_danmar
This is related with #2700. Code example: […] The warning should be …
18:53 Ticket #2907 (Unable to save xml output) closed by kimmov
invalid: Well, reading the command line help helps: […] So, it is intentional …
18:28 Ticket #2907 (Unable to save xml output) created by javydreamercsw
See: https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=4&t=266
17:04 Ticket #2882 (One-character token can be mistaken for a multiCompare) closed by hyd_danmar
fixed: Thanks! I applied your patches with: …
00:18 Ticket #2822 (New check: Duplicate break statements in switch) closed by zacblair
fixed: Fixed by: …

07/14/11:

23:21 Ticket #2904 (Memory leak not detected when creating a new class instance) closed by robertreif
fixed: fixed by …
15:02 Ticket #2906 (CLI output templating uses wrong location from location stack) created by cmdrjameson
When you have a variable hiding a typedef, the reported file and line …
14:51 Ticket #2905 (Error message when trying to cppcheck a header file is not helpful) created by cmdrjameson
The message 'could not find or open any of the paths given' will be given …
10:12 Ticket #2904 (Memory leak not detected when creating a new class instance) created by blade86
The test looks like this: […] Here's what cppcheck says: […] …

07/13/11:

09:50 Ticket #2903 (missingInclude detected in untested configuration) created by cmdrjameson
If you have a file like this (attached): […] and run cppcheck with, …

07/12/11:

15:18 Ticket #2902 (False positive Memory leak on assignment into an if) created by fernandoreyes
I create a pointer to a struct into a class, make a new into a function …
10:56 Ticket #2901 (Would be useful to have a 'never define' command line flag) created by cmdrjameson
Currently cppcheck will parse the file for #Defines then try all …

07/11/11:

22:49 Ticket #2900 (found memory leak in kernel p54usb and a false positive reported) created by olbrannon
The report is here https://bugzilla.kernel.org/show_bug.cgi?id=39102 I …
19:54 Ticket #2899 (cppcheck crash (segfault) caused by wrong tokenization) created by stweil
This code will crash the latest cppcheck versions: […] The crash is …

07/08/11:

18:06 Ticket #2896 (Error 'sizeofwithnulericparamter' should be 'sizeofwithnumericparameter') closed by seb777
invalid: It is already fixed. See …
14:51 Ticket #2898 (Cannot suppress toomanyconfigs reports) closed by kimmov
invalid: No, these are important messages about the checking itself and cannot be …
14:39 Ticket #2898 (Cannot suppress toomanyconfigs reports) created by cmdrjameson
Currently this message ignores the suppression settings. […] Suspect …
14:13 Ticket #2897 (out of bounds false positive, using reinterpret_cast) created by kaimimue
Error Message for the attached example code: Summary: Array 'result[1]' …
12:56 Ticket #2896 (Error 'sizeofwithnulericparamter' should be 'sizeofwithnumericparameter') created by cmdrjameson
Just a spelling mistake. See checkother.cpp(873). is: […] should be: …
10:13 Ticket #2895 (Cannot suppress unmatchedSuppression reports) created by cmdrjameson
(Potentially a horribly recursive paradox, I realise.) I'm using the same …
06:59 Ticket #2893 (False Positive: Initialising an extern fixed-size array causes a false ...) closed by hyd_danmar
duplicate: duplicate of #2894

07/07/11:

16:42 Ticket #2894 (False Positive: Initialising an extern fixed-size array causes a false ...) created by cmdrjameson
If you have an array which has been previously declared as a fixed size …
16:40 Ticket #2893 (False Positive: Initialising an extern fixed-size array causes a false ...) created by cmdrjameson
If you have an array which has been previously declared as a fixed size …
13:16 Ticket #2892 (false positive: (portability) Assigning an address value to the integer ...) closed by hyd_danmar
fixed: Fixed by: …
07:17 Ticket #2892 (false positive: (portability) Assigning an address value to the integer ...) created by ettlmartin
[…] […]

07/06/11:

18:06 Ticket #2891 (False positive: Test<int>::operator=' should return 'Test<int> &) created by myint
This piece of code […] results in this false positive […]
09:58 Ticket #2867 (False positive:Variable is not assigned a value) closed by robertreif
fixed
09:57 Ticket #2890 (CLI should be able to use GUI project files) closed by robertreif
wontfix

07/05/11:

16:42 Ticket #2866 (Detect sign extension bugs) closed by hyd_danmar
fixed: Fixed by: …

07/04/11:

21:24 Ticket #2890 (CLI should be able to use GUI project files) created by robertreif
The CLI version of cppcheck should be able to use GUI project files for …
21:00 Ticket #2889 (false negative: buffer access out of bounds on local struct member) created by ettlmartin
cppcheck fails to detect a buffer out of bounds access in local struct …
19:05 Ticket #2775 (Uninitialized variable: Not detected when uninitialized struct pointer is ...) closed by hyd_danmar
fixed: Fixed by: …
18:38 Ticket #2888 (Allow defining sizes of base types) created by kimmov
Cppcheck seems to assume all code is (Windows/Linux) 32-bit code. That is …

07/03/11:

17:05 Ticket #2887 (infinit loop with ( A::A(std::auto_ptr<X> e){} )) created by ettlmartin
while scanning the path64/assember project …
16:45 Ticket #2883 (Huge memory consumption by CppCheck) closed by hyd_danmar
fixed: sorry about the test failures. obviously I forgot to run the unit tests. …
14:51 Ticket #2886 (crash of cppcheck ( typedef struct x { } )) closed by robertreif
fixed: fixed by …
14:08 Ticket #2886 (crash of cppcheck ( typedef struct x { } )) created by ettlmartin
cppcheck crashes on following garbage code: […] […]
13:51 Ticket #2885 (crash of cppcheck while checking gcc-testsuite) created by ettlmartin
cppcheck crashes during a check of cppchecks testsuite of …
Note: See TracTimeline for information about the timeline view.