Timeline


and .

02/12/10:

20:51 WikiStart edited by aggro80
new check -> improve check (diff)
20:25 Ticket #1385 (False positive: unsigned division) closed by aggro80
fixed: Fixed by: …
17:16 Ticket #1382 (False positive: uninitialized variable when using assembly to initialize ...) closed by hyd_danmar
fixed: Fixed by: …
16:23 Ticket #1385 (False positive: unsigned division) created by hyd_danmar
This code: […] Generates this false positive: […] I know this is a …
12:54 Ticket #1384 (new check: variable name reuse (Wshadow)) created by robertreif
Variables in different scopes can have the same name. This is legal but …

02/11/10:

17:14 Ticket #1383 (Preprocessor: define - ifndef problem) created by lanurmi
Sometimes cppcheck gets into some kind of infinite loop while checking a …
16:48 Ticket #1382 (False positive: uninitialized variable when using assembly to initialize ...) created by hyd_danmar
The variable "temp" is initialized by the assembler code: […] Cppcheck …
12:37 Ticket #1381 (Check if the b and c are the same in "a ? b : c") created by kidkat
It would be nice to have a check, that checks if b and c in "a ? b : c" …
12:11 Ticket #1380 (Patch to fix some VS2008 warnings) created by kidkat
The attached patch fies some VS2008 warnings.
10:00 Ticket #1336 (false positive: unusual pointer arithmetik with strings) closed by mlukow
fixed
09:59 Ticket #1335 (false positive: unusual pointer arithmetik) closed by mlukow
fixed

02/10/10:

21:19 Ticket #1379 (False negative: Array index out of bounds with realloc()) created by aggro80
[…] Array index out of bounds is not detected.
21:12 Ticket #1340 (False positive: Array out of bounds for re-initialised array pointer) closed by aggro80
fixed: Fixed by: …
18:35 Ticket #1376 (Member variable not initialized in the constructor false positive) closed by hyd_danmar
fixed: Fixed by: …
16:24 Ticket #1378 (#error macro makes unrelated errors undetectable) created by lanurmi
[…] The obvious null pointer dereference is not detected in g(). …
14:24 Ticket #1377 (The function can be const false positive when used in STL algorithms) created by boogachamp
I have a case where I am using the std::sort STL algorithm. I use the …
14:18 Ticket #1376 (Member variable not initialized in the constructor false positive) created by boogachamp
I have a class with 3 arrays. All are initialized in the constructor via …

02/09/10:

23:35 Ticket #1375 (false negative: uninitialized member variables not found in nested class ...) created by robertreif
I ran purify today on some code that I already ran through cppcheck and …
17:11 Ticket #1373 (###### If you see this, there is a bug ######) closed by hyd_danmar
fixed: Fixed by: …
14:42 Ticket #1374 (false negative: using uninitialized variable in printf) created by quanyangyi0323
No error is found in this code: […] Expected is something like this: …
04:40 Ticket #1373 (###### If you see this, there is a bug ######) created by robertreif
I get this when I run the tests: TestStl::STLSize ###### If you see …
02:37 Ticket #1368 ((error) ### Internal error in Cppcheck. Please report it) closed by povaddict
duplicate: Simplified: […] So it's really the same problem as #1369. Closing as …

02/08/10:

22:31 Ticket #1372 (Add optional scanning of portability issues) created by tetsuo55
Please consider adding support for a portability warnings switch. An …
22:24 Ticket #1371 (#include "foo\file.h" -> #include "foo/file.h" should be handled ...) created by tetsuo55
many windows applications use the \ for paths, linux has problems with …
22:23 Ticket #1370 ((error) Internal error: failed to instantiate template. The checking ...) created by tetsuo55
[c:\Users\user\Desktop\cppcheck\trunk\src\apps\subtitles\\libssf\Renderer.h …
22:22 Ticket #1369 (Internal error - double-declared enum followed by another enum) created by tetsuo55
[c:\Users\user\Desktop\cppcheck\trunk\src\apps\\SubPic\ISubPic.h:335]: …
22:20 Ticket #1368 ((error) ### Internal error in Cppcheck. Please report it) created by tetsuo55
[c:\Users\user\Desktop\cppcheck\trunk\src\apps\filters\\source\FLICSource\F …
22:17 Ticket #1366 (void Tokenizer::simplifyTemplates() --> Abort) closed by aggro80
fixed: Fixed by: …
18:08 Ticket #1367 (false positive: uninitialized variable) closed by povaddict
invalid: p is an int*. *p is an int. You are assigning an int array's …
17:25 Ticket #1364 (False positive: (error) Possible null pointer dereference) closed by hyd_danmar
fixed: Fixed by: …
17:07 Ticket #1360 (false positive:: uninitialized class member of nested class inside a ...) closed by hyd_danmar
fixed: Fixed by: …
13:11 Ticket #1367 (false positive: uninitialized variable) created by ettlmartin
[…] […]
11:47 Ticket #1366 (void Tokenizer::simplifyTemplates() --> Abort) created by ettlmartin
during a check of gcc sources, cppcheck printed the following message: …
06:26 Ticket #1344 (false negative: missing const not found) closed by hyd_danmar
fixed: I applied 1344.1.diff with: …

02/07/10:

21:27 Ticket #1365 (cppcheck 1.39 crashes on OpenBSD/amd64 port while scanning in-tree gcc ...) closed by aggro80
worksforme: This occurs with 1.39 and with 1.40, but not in the latest git. So it …
21:07 Ticket #1365 (cppcheck 1.39 crashes on OpenBSD/amd64 port while scanning in-tree gcc ...) created by zinovik
Hello. I'm tring to create cppcheck port for OpenBSD. I tested it on …
20:46 Ticket #1364 (False positive: (error) Possible null pointer dereference) created by aggro80
[…] […]
19:26 Ticket #1318 (Executing cppcheck with --errorlist leads to error message) closed by kwin
fixed: Should be fixed with …
14:00 Ticket #1361 (### Internal error in Cppcheck. Please report it) closed by hyd_danmar
fixed: Fixed by: …
12:43 Ticket #1353 (false positive: uninitialized variable) closed by hyd_danmar
invalid: I fail to reproduce. It might have been fixed.
12:39 Ticket #1359 (Tokenizer: (unsigned) simplified incorrectly) closed by hyd_danmar
invalid: I fixed #1356 with: …
12:36 Ticket #1356 (Double-False positive: uninitialized variable) closed by hyd_danmar
fixed: Fixed by: …
08:16 Ticket #1362 (Internal error when using ?-operator and nested {}) closed by hyd_danmar
fixed: Fixed by: …

02/06/10:

21:36 Ticket #1346 (False positive: Memory leak when allocated memory is stored elsewhere ...) closed by hyd_danmar
fixed: Fixed by: …
20:48 Ticket #1363 (false positive: memory leak) closed by hyd_danmar
fixed: Fixed by: …
18:47 Ticket #824 (Exit code of cppcheck) closed by hyd_danmar
fixed: Fixed by: …
15:54 Ticket #1352 (false positive: uninitialized variable) closed by hyd_danmar
fixed: Fixed by: …
11:07 Ticket #1363 (false positive: memory leak) created by ettlmartin
during a scan of postgres sql git head, a false positve showed up on …
09:34 Ticket #1355 (### Internal error in Cppcheck. Please report it.) closed by hyd_danmar
fixed: Thanks! I applied 1355.diff with: …
08:55 Ticket #1362 (Internal error when using ?-operator and nested {}) created by ettlmartin
[…] […]
07:48 Ticket #1361 (### Internal error in Cppcheck. Please report it) created by ettlmartin
during a check of llvm svn head, cppcheck printed an internal error, here …
07:43 Ticket #1360 (false positive:: uninitialized class member of nested class inside a ...) created by ettlmartin
[…] […]

02/05/10:

22:23 Ticket #1359 (Tokenizer: (unsigned) simplified incorrectly) created by aggro80
This code: […] Becomes: […] This is at least slowing down fixing …
21:58 Ticket #1358 (False negative: out-of-bounds not found near return) closed by aggro80
fixed: Fixed by: …
20:56 Ticket #1358 (False negative: out-of-bounds not found near return) created by aggro80
[…]
20:52 Ticket #1357 (problem in stl insert method of set template) created by rti7743
set stl template insert(iterator , iterator ) method is legality method …
17:51 Ticket #1356 (Double-False positive: uninitialized variable) created by lanurmi
[…] This is a false positive for two reasons: 1) name is …
16:36 Ticket #984 (improve output if strncpy is followed by strncat) closed by hyd_danmar
fixed: Fixed by: …
11:48 Ticket #1355 (### Internal error in Cppcheck. Please report it.) created by ettlmartin
during a scan of the current wxWidgets svn head …
11:10 Ticket #1354 (Flexible exclusion of checks) closed by hyd_danmar
invalid: first of all.. is there any check that you disagree about? If you get …
07:53 Ticket #1354 (Flexible exclusion of checks) created by rioch
A limitation of cppcheck is that you cannot disable specific checks. For …
07:21 Ticket #1351 (add expression support to simplifyEnum) closed by hyd_danmar
fixed: I applied enum.1.diff with: …
05:58 Ticket #1353 (false positive: uninitialized variable) created by ettlmartin
during a scan of the current gcc-trunk, cppcheck printed a false positive …
04:48 Ticket #1352 (false positive: uninitialized variable) created by ettlmartin
during a scan of wxmathplot (http://wxmathplot.sourceforge.net/), a false …[…]
01:07 Ticket #1351 (add expression support to simplifyEnum) created by robertreif
Here is a patch which adds support for expressions in enums. It does not …

02/04/10:

19:07 Ticket #1347 (False positive: Using memset on class that only has ints) closed by hyd_danmar
fixed: Fixed by: …
18:41 Ticket #1287 (Use of memset on struct - std template types not handled) closed by hyd_danmar
fixed: Fixed by: …
16:08 Ticket #1350 (re-add the "unused variable" check) created by kidkat
The old "unused variable" check, that reported variables, that were never …
10:29 Ticket #1349 (mismatched allocation and deallocation with typedef not detected) created by kidkat
This code […] does not report the mismatching allocation and …
10:21 Ticket #1348 (mismatched allocation and deallocation not detected when re-using pointer) created by kidkat
This code […] reports […] If you fix the error in line 9 it will …

02/03/10:

21:15 Ticket #1347 (False positive: Using memset on class that only has ints) created by hyd_danmar
Using memset on a class that only has ints is safe.. […]
20:26 Ticket #1337 (Division by zero with __alignof__()) closed by hyd_danmar
fixed: Fixed by: …
20:17 Ticket #1346 (False positive: Memory leak when allocated memory is stored elsewhere ...) created by aggro80
[…] […] Found from the Linux kernel: […]
19:10 Ticket #1345 (Not initialised variables warning missing in classes with dllexport) closed by hyd_danmar
fixed: Fixed by: …
17:53 Ticket #1342 (Superclass constructors in initializer lists are considered unused ...) closed by hyd_danmar
fixed: Fixed by: …
08:10 Ticket #1345 (Not initialised variables warning missing in classes with dllexport) created by altren
Here's short example for test: Widget.cpp […] Widget.h […] Both …
06:59 Ticket #1343 (simplifyTypedef doesn't support deeply nested classes) closed by hyd_danmar
fixed: I applied typedef.diff with: …

02/02/10:

23:47 Ticket #1344 (false negative: missing const not found) created by robertreif
The following code should generate a missing const message: […]
23:38 Ticket #1343 (simplifyTypedef doesn't support deeply nested classes) created by robertreif
simplifyTypedef supports parsing deeply nested classes now but only …
19:49 Ticket #1342 (Superclass constructors in initializer lists are considered unused ...) created by jotik
Superclass constructors in initializer lists are considered unused …
18:58 Ticket #1341 (false positive 'uninitialized variable' when using Exception ...) closed by hyd_danmar
fixed: Fixed by: …
17:38 Ticket #1068 (GUI: stop or quit when processing a large file) closed by kimmov
fixed: I think this can be closed now. It might not be strictly "immediately" but …
13:15 Ticket #1341 (false positive 'uninitialized variable' when using Exception ...) created by cjohnk7
Code: […] Prints: […]

02/01/10:

19:02 Ticket #1339 (add nested struct support to simplifyEnum and simplifyTypedef) closed by hyd_danmar
fixed: Thanks! I applied struct.diff with: …
18:53 Ticket #1094 (Improve check: unusual pointer arithmetic: 'ch+str') reopened by hyd_danmar
I have seen false positives. Two tickets have been created: #1335 and …
11:10 Ticket #1340 (False positive: Array out of bounds for re-initialised array pointer) created by rkraats
[…] latest git version gives: (error) Array 'buf[8]' index 8 out of …
00:59 Ticket #1339 (add nested struct support to simplifyEnum and simplifyTypedef) created by robertreif
This patch adds nested struct support to simplifyEnum and simplifyTypedef. …

01/31/10:

21:07 Ticket #1249 (false positive '(error) Resource leak: f' for 'popen' / 'if(pclose(f) < ...) closed by mlukow
fixed: Fixed by: …
21:05 Ticket #1274 (false positive: Dangerous usage of strncat) closed by mlukow
fixed: Fixed by: …
21:04 Ticket #1094 (Improve check: unusual pointer arithmetic: 'ch+str') closed by mlukow
fixed: Fixed by: …
20:48 Ticket #1338 (simplify typedefs with global and nested namespace) closed by hyd_danmar
fixed: Thanks. I applied typedef.1.diff: …
18:51 Ticket #1338 (simplify typedefs with global and nested namespace) created by robertreif
This patch refactors simplifyTypedef to better handle global and nested …
17:45 Ticket #1337 (Division by zero with __alignof__()) created by arm_in
[…] results in […]
16:18 Ticket #1336 (false positive: unusual pointer arithmetik with strings) created by ettlmartin
i tested the sample from …
15:29 Ticket #1004 (improve check: Unintialized variable not detected when using a reference ...) closed by hyd_danmar
fixed: Fixed by; …
13:06 Ticket #1335 (false positive: unusual pointer arithmetik) created by ettlmartin
[…] […]
08:58 Ticket #92 (Memory leaks not detected when using assignment) closed by hyd_danmar
fixed: Fixed by: …
06:30 Ticket #1334 (gui build fails) created by blacksqr
I tried compiling cppcheck on Ubuntu Intrepid using the instructions in …
06:28 Ticket #1333 (Detect access out of bounds 'for (i = 100; i > 0; --i) a[i] = 0;') created by hyd_danmar
This code doesn't produce any error message: […]

01/30/10:

21:08 Ticket #1332 (detect integer underflows) created by atomo64
Would be great if cppcheck could detect integer underflows like the next …
18:42 Ticket #1331 (simplify typedef of complex arrays) closed by hyd_danmar
fixed: Thanks! I applied array.diff with: …
18:16 Ticket #1331 (simplify typedef of complex arrays) created by robertreif
This patch adds better support for typedefs of arrays.
13:41 Ticket #1005 (improve check: nullpointer dereference not found when it is initialized ...) closed by hyd_danmar
fixed: Finally fixed: …
08:36 Ticket #1005 (improve check: nullpointer dereference not found when it is initialized ...) reopened by hyd_danmar
hmm.. it wasn't fixed.
08:34 Ticket #1005 (improve check: nullpointer dereference not found when it is initialized ...) closed by hyd_danmar
fixed: Fixed by: …
07:11 Ticket #1330 (Detect memory leaks: ignore usage when passing const pointer to ...) created by hyd_danmar
We could ignore function usage when passing a const pointer to an unknown …
07:02 Ticket #1329 (simplify typedef of function pointer returning template) closed by hyd_danmar
fixed: I applied typedef.diff with: …
02:02 Ticket #1329 (simplify typedef of function pointer returning template) created by robertreif
This patch adds support for a typedef of a function pointer returning a …

01/29/10:

21:29 Ticket #1327 (False positive: Redundant code: Found a statement that begins with numeric ...) closed by hyd_danmar
fixed: Fixed by: …
20:27 Ticket #1316 (### Internal error in Cppcheck. Please report it.) closed by hyd_danmar
fixed
18:39 Ticket #1319 (false negative: missing const not found) closed by hyd_danmar
fixed: Fixed by: …
17:50 Ticket #1324 (show number of tests that don't produce the desired results) closed by hyd_danmar
fixed: Applied todo.diff with: …
15:35 Ticket #1328 (Segmentation fault) closed by rkraats
fixed: Indeed with the latest git version the problem is gone. But now when I …
15:07 Ticket #1323 (segfault with style in CheckClass::operatorEqRetRefThis()) closed by hyd_danmar
fixed: I applied 1323.diff with: …
15:01 Ticket #1325 (Segmentation fault in simplifyTypedef due to bad preprocessing) closed by hyd_danmar
fixed: I applied 1325.diff and 1325.1.diff with: …
14:58 Ticket #1326 (remove simplified enum definitions) closed by hyd_danmar
fixed: I applied enum.diff with: …
14:54 Ticket #1328 (Segmentation fault) created by rkraats
[…] Causes a segmentation fault when checked with --enable=style: …
13:04 Ticket #1327 (False positive: Redundant code: Found a statement that begins with numeric ...) created by rkraats
[…] […]
04:10 Ticket #1326 (remove simplified enum definitions) created by robertreif
There is no reason to keep an enum definition around after it's …
04:00 Ticket #1325 (Segmentation fault in simplifyTypedef due to bad preprocessing) created by robertreif
The following code: […] is tokenized to: […] The >> token is …
00:05 Ticket #1324 (show number of tests that don't produce the desired results) created by robertreif
This patch shows the number of tests that don't produce the desired …

01/28/10:

22:23 Ticket #824 (Exit code of cppcheck) reopened by kwin
Unfortunately with --errorlist the exit code is still 1 and not 0. See …
21:41 Ticket #1323 (segfault with style in CheckClass::operatorEqRetRefThis()) created by aggro80
[…] […] […] Found from: …
20:53 Ticket #1322 (Add cppcheckError and unusedFunction to --errorlist, give out internal ...) created by kwin
So far the xml output of --errorlist doesn't contain the id and message …
18:56 Ticket #1321 (Improve check const-function: function that is not implemented inline can ...) created by hyd_danmar
When functions are not implemented inline it is not detected that they can …
17:13 Ticket #1320 (Error messages should always start with an uppercase letter and not end ...) created by kwin
The error messages with the following ids do not start with an uppercase …

01/27/10:

23:37 Ticket #1319 (false negative: missing const not found) created by robertreif
The following code should generate a missing const message but doesn't. …
21:05 Ticket #1286 (Memory leak not detected) closed by hyd_danmar
fixed: Fixed by: …
20:44 Ticket #1314 (specify the files to check in 1 input file) closed by hyd_danmar
fixed: I applied the changes with: …
20:03 Ticket #1315 (mismatched allocation and deallocaton not detected) closed by hyd_danmar
fixed: Fixed by: …
16:30 Ticket #1318 (Executing cppcheck with --errorlist leads to error message) created by kwin
If you execute cppcheck --errorlist it always prints the error: No C/C++ …
12:28 Ticket #1317 (improve out of bounds check when using std::string.length() in for loop) created by ettlmartin
recently i found a bug that can lead to an out of bounds error: […] If …

01/26/10:

19:31 Ticket #1302 (False positive: Confusion between POSIX open() and class member) closed by hyd_danmar
fixed: Fixed by: …
18:38 Ticket #1278 (Confusing style message formatting) closed by hyd_danmar
fixed: I changed the message to something similar to 1. for non-verbose output …

01/25/10:

22:04 Ticket #1316 (### Internal error in Cppcheck. Please report it.) created by ettlmartin
during a scan of current gcc trunk, the file result_of.cc (see attchment) …
20:41 Ticket #1312 (false positive: missing const message on functions returning references) closed by hyd_danmar
fixed: Fixed by: …
16:13 Ticket #1315 (mismatched allocation and deallocaton not detected) created by kidkat
This code […] reports […] If you fix the first error and run …
09:32 Ticket #1314 (specify the files to check in 1 input file) created by killerbot
For the plug-in for Code::Blocks, which currently makes the call to …
06:46 Ticket #1313 (unnamed enums not simplified properly) closed by hyd_danmar
fixed: I applied enum.diff with: …
01:10 Ticket #1313 (unnamed enums not simplified properly) created by robertreif
This patch fixes unnamed enum simplification.

01/24/10:

23:52 Ticket #1312 (false positive: missing const message on functions returning references) created by robertreif
The following 2 examples produce false positives: […] […]
21:42 Ticket #1307 (Internal error with typedef in parameter list) closed by hyd_danmar
fixed: Thanks! I applied 1307.diff with: …
21:22 Ticket #1311 (false negative: missing const not found in derived classes) created by robertreif
In the following code, only the first missing const is found. The 2 …
20:59 Ticket #1306 (False positive: Resource leak in do-close-open-while loop) closed by hyd_danmar
fixed: it wasn't so easy to remove the false "possible error". I fixed most of …
20:00 Ticket #1310 (Allow complete GUI translation including error messages) created by kimmov
Currently it looks weird that we have GUI elements translatable but error …
19:50 Ticket #1306 (False positive: Resource leak in do-close-open-while loop) reopened by hyd_danmar
The error is now reported as a "possible error". I'll try to remove it …
19:29 Ticket #1309 (core library mutex) closed by hyd_danmar
invalid: I think pre-scan is the better way to achieve cross file checking. So I …
19:09 Ticket #13 (Check missing const with --style) closed by hyd_danmar
fixed: I consider this ticket to be closed now. Please report false positives / …
19:04 Ticket #1238 (False Negative : memory leak with template class) closed by hyd_danmar
fixed: Fixed by: …
18:28 Ticket #1306 (False positive: Resource leak in do-close-open-while loop) closed by hyd_danmar
fixed: Fixed by: …
17:28 Ticket #1308 (False positive: The function 'x' can be const for a static member function) closed by hyd_danmar
fixed: Fixed by: …
17:10 Ticket #1309 (core library mutex) created by hyd_danmar
I would like to have access to mutexes in the core library. I want to use …
15:54 Ticket #1308 (False positive: The function 'x' can be const for a static member function) created by mordante
Using git rev 019f775aa5fb174fab79cfa63f5ce40b01c9c27a […]
14:05 Ticket #1307 (Internal error with typedef in parameter list) created by kidkat
This code […] causes this messsage […]
09:47 Ticket #1306 (False positive: Resource leak in do-close-open-while loop) created by aggro80
[…] […] Reported to Debian: …

01/23/10:

21:22 Ticket #1279 (Change error message: Invalid number of character ({). Can't process file.) closed by aggro80
fixed: Fixed by: …
20:26 Ticket #1301 (False positive: Data is allocated but not initialized) closed by hyd_danmar
fixed: Fixed by: …
20:09 Ticket #1305 (False positive: The function 'x' can be const when indirectly calling a ...) closed by hyd_danmar
fixed: Fixed by: …
19:59 Ticket #1304 (False positive: The function 'x' can be const when modifing a member) closed by hyd_danmar
fixed: Fixed by: …
19:48 Ticket #1303 (False positive: The function 'x' can be const for a constructor) closed by hyd_danmar
fixed: Fixed by: …
19:33 Ticket #1305 (False positive: The function 'x' can be const when indirectly calling a ...) created by mordante
Using git rev 744c3850977f5666f4d1d6ff741f80bed90d46e7 When a non-const …
19:31 Ticket #1304 (False positive: The function 'x' can be const when modifing a member) created by mordante
Using git rev 744c3850977f5666f4d1d6ff741f80bed90d46e7 Certain …
19:28 Ticket #1303 (False positive: The function 'x' can be const for a constructor) created by mordante
Using git rev 744c3850977f5666f4d1d6ff741f80bed90d46e7 Under certain …
16:40 Ticket #1302 (False positive: Confusion between POSIX open() and class member) created by salty-horse
Using 744c385 from Sat Jan 23 09:54:51 2010 +0100 In the following …
15:51 Ticket #1300 (False positive: Uninitialized variable) closed by hyd_danmar
duplicate: The problem is that strncpy doesn't always 0-terminate the buffer. Either …
15:06 Ticket #1301 (False positive: Data is allocated but not initialized) created by salty-horse
Using 744c385 from Sat Jan 23 09:54:51 2010 +0100 […] Line 5: (error) …
15:02 Ticket #1300 (False positive: Uninitialized variable) created by salty-horse
Using 744c385 from Sat Jan 23 09:54:51 2010 +0100 […] Line 4: (error) …
08:47 Ticket #1299 (CMake: The CheckClass is not used) created by hyd_danmar
The lib/checkclass.cpp is built. And the unit tests are working. But when …

01/22/10:

19:27 Ticket #1298 ((error) ### Internal error in Cppcheck. Please report it. (typedef in fun ...) closed by hyd_danmar
fixed: I applied 1298.diff with: …
19:21 Ticket #1276 (False Uninitialized variable when using goto) closed by hyd_danmar
fixed: Fixed by: …
18:14 Ticket #1298 ((error) ### Internal error in Cppcheck. Please report it. (typedef in fun ...) created by trofi
Sample code: […] Trying: […] 1.40-27-g59de793
17:52 Ticket #643 ("Member variable not initialized" not detected if any unknown function ...) closed by hyd_danmar
fixed: Fixed by: …
16:29 Ticket #1297 (typedef causes internal error in vlc/modules/access/imem.c) closed by hyd_danmar
fixed: Thanks. I applied 1297.diff with: …

01/21/10:

20:54 Ticket #1297 (typedef causes internal error in vlc/modules/access/imem.c) created by hyd_danmar
The file vlc/modules/access/imem.c can't be analysed - there is an …
19:06 Ticket #1290 (1.40: Internal error) closed by hyd_danmar
fixed: Fixed by: …
17:52 Ticket #1273 (scope of variable limited not detected in latest versions) closed by hyd_danmar
fixed: Fixed by: …
00:18 Ticket #1284 (### Internal error in Cppcheck. Please report it) closed by robertreif
fixed: This patch was included in the patch applied in #[1280].

01/20/10:

21:04 Ticket #1293 (Things to add to call_func_white_list) closed by hyd_danmar
fixed: Fixed by: …
19:29 Ticket #1296 (false positive: index out of bounds) closed by aggro80
fixed: Thanks for reporting this. Fixed by: …
06:11 Ticket #1296 (false positive: index out of bounds) created by eriktorbjorn
This false positive showed up in the ScummVM project, and boils down to …
01:59 Ticket #1295 (GUI: update progress when processing large files) created by robertreif
Processing large files can take a long time. The progress bar is only …

01/19/10:

23:03 Ticket #1294 (false negative: double free not detected) created by ettlmartin
[…] if foo is called with STATE_2 then p1 will be double freed.
22:09 Ticket #1293 (Things to add to call_func_white_list) created by lanurmi
Here are some standard and less standard functions that maybe should be in …
21:48 Ticket #1283 (Internal error in Cppcheck for a macro with if statement arguments) closed by aggro80
worksforme: I see this with 1.39, but not with 1.40 nor with trunk version. I assume …
21:24 Ticket #1292 (cppcheck.cbp needs an update (V1.40)) closed by aggro80
fixed: Fixed by: …
21:01 Ticket #1292 (cppcheck.cbp needs an update (V1.40)) created by killerbot
it should contain the 2 new files : lib/executionpath.h/cpp Cheers, …
20:59 Ticket #1291 (False Negative : Stack overflow while using itoa) created by sebroman
Here is a stack overflow on szItem variable while using itoa (end line …
18:08 Ticket #1282 (False positive for a memory leak in a simple loop) closed by hyd_danmar
fixed: Fixed by: …
10:40 Ticket #1290 (1.40: Internal error) created by dcb314
I just tried out new cppcheck 1.40 on new Linux kernel 2.6.32.4 and …
08:38 Ticket #1283 (Internal error in Cppcheck for a macro with if statement arguments) reopened by utf-8
Actually, it fails as is. Here is what it shows with that exact example: …
06:24 Ticket #1283 (Internal error in Cppcheck for a macro with if statement arguments) closed by povaddict
worksforme: You'd have to post the definition of DBG; otherwise nobody can reproduce …
03:36 Ticket #1240 (False Negative : memory leak inside template class) closed by sebroman
duplicate: Replying to povaddict: > Replying to sebroman: > > …
02:28 Ticket #1289 (sizeof(x) where Foo& x = y; should be handled as sizeof(Foo)) created by povaddict
[…] Does not give the expected error: `Using 'memset' on struct …
02:28 Ticket #1288 (Use of memset on struct - nested structs not handled) created by povaddict
[…] Output: […] However: […] ...gives no error. noMemset checks …
02:28 Ticket #1287 (Use of memset on struct - std template types not handled) created by povaddict
[…] Output: […] However: […] ...gives no error. The memset check …
01:00 Ticket #1286 (Memory leak not detected) created by povaddict
While making a reduced testcase for #1285, I noticed something... […] …
00:49 Ticket #1285 (sizeof(*this) not handled) created by povaddict
[…] From what I see in cppcheck code, this should give an error because …

01/18/10:

21:42 Ticket #1284 (### Internal error in Cppcheck. Please report it) created by ettlmartin
[…] […]
20:35 Ticket #1266 ("qsort" missing in call_func_white_list) closed by hyd_danmar
fixed: Fixed by: …
18:44 Ticket #1283 (Internal error in Cppcheck for a macro with if statement arguments) created by utf-8
I got an internal error from the following example. […] DBG is a …
18:17 Ticket #1282 (False positive for a memory leak in a simple loop) created by utf-8
I hit a false positive for cppcheck. Here is a simplified example: […] …
18:07 Ticket #1251 (tokenize typedef of reference) closed by hyd_danmar
fixed: I applied refactor.2.diff: …
17:40 Ticket #1281 (Allow to ignore certain #define) created by kimmov
Spun off from ticket #1279. Sometimes broken code might be inside some …
03:34 Ticket #1280 (Pointer to function support) created by robertreif
I'm working on adding typedef simplification of function pointers and it …

01/17/10:

21:41 Ticket #1279 (Change error message: Invalid number of character ({). Can't process file.) created by kimmov
Got this error with cppcheck 1.40: […] Attaching the file in question. …
21:33 Ticket #1278 (Confusing style message formatting) created by kimmov
I got this possible style warning: […] But it took me couple of …
18:11 Ticket #1262 (cppcheck false positives: 'Possible null pointer dereference', ...) closed by hyd_danmar
fixed: Fixed by: …
16:31 Ticket #314 (disable memory check heuristic with --all) closed by hyd_danmar
wontfix: This is a wontfix. But #1277 is somewhat related.
15:52 Ticket #1277 (Debugging: report when bailing out) created by hyd_danmar
It would be useful for Cppcheck developers if a message could be written …
13:43 WikiStart edited by hyd_danmar
Version 1.41 is planned to be released on March 7th. (diff)
13:39 Ticket #1236 (Few false negatives : memory leak, buffer overrrun, unused function, ...) closed by hyd_danmar
duplicate: thanks for splitting out the issues. I close this as duplicate.
13:31 Milestone 1.40 completed
New checks: * new style check: assignment operator does not return *this …
11:13 Ticket #1276 (False Uninitialized variable when using goto) created by hyd_danmar
This code example gives a false positive: […] The false positive: …
07:18 Ticket #1275 (Cppcheck hangs when analysing the code 'typedef struct { } A, *B, **C;') closed by hyd_danmar
fixed: I applied refactor.1.diff with: …

01/16/10:

18:43 Ticket #1272 (links in typedef not handled correctly) closed by hyd_danmar
fixed: Fixed by: …
18:16 Ticket #1275 (Cppcheck hangs when analysing the code 'typedef struct { } A, *B, **C;') created by hyd_danmar
Cppcheck hangs when analysing this code: […]
14:20 Ticket #1274 (false positive: Dangerous usage of strncat) created by ettlmartin
[…] […] […]
13:10 Ticket #1273 (scope of variable limited not detected in latest versions) created by jannicht
Compared the result of the 5 latest versions of cppcheck running on our …
13:08 Ticket #1272 (links in typedef not handled correctly) created by ettlmartin
during a check of gcc-trunk …
12:58 Ticket #1271 (SIGSEGV on malformed source (macro stub + fundef)) closed by hyd_danmar
fixed: I failed to write a testcase. But this fix this problem: …

01/15/10:

23:17 Ticket #1271 (SIGSEGV on malformed source (macro stub + fundef)) created by trofi
[…] Yes, the source is malformed. But it is taken from real world: …
13:26 Ticket #1270 (Improve scope can be limited check for array) created by lefreut
Hi, cppcheck does not find that the scope of the variable "a" can be …

01/14/10:

21:03 Ticket #1269 (Changes required for compiling with Sun's compiler) closed by hyd_danmar
fixed: I made minor changes and applied both sun-cc-support.diff and …
20:42 Ticket #1264 (False positive: Resource leak with if-else in while) closed by hyd_danmar
fixed: Fixed by: …
19:03 Ticket #1268 (Null pointer dereference false positive) closed by hyd_danmar
fixed: Fixed by: …
16:16 Ticket #1269 (Changes required for compiling with Sun's compiler) created by lanurmi
This patch fixes the remaining issues that prevent from compiling using …
14:13 Ticket #1268 (Null pointer dereference false positive) created by kidkat
This code […] reports […] It contains a valid NULL pointer …
13:58 Ticket #1267 (Tokenizer: simplify double assignment) created by kidkat
This code […] will report […] If you remove either the …
13:52 Ticket #1266 ("qsort" missing in call_func_white_list) created by kidkat
The function "qsort" from stdlib.h is missing in call_func_white_list. It …

01/13/10:

18:39 Ticket #1265 ((error) Uninitialized variable on macro expansion) closed by hyd_danmar
fixed: Fixed by: …
09:59 Ticket #1265 ((error) Uninitialized variable on macro expansion) created by trofi
[…] […] 1.39-239-g0212225
07:22 Ticket #1264 (False positive: Resource leak with if-else in while) created by aggro80
[…] […]
Note: See TracTimeline for information about the timeline view.