Daniel Marjamäki
|
68beffca04
|
Fixed #2437 (false positive: possible null pointer dereference: tok2)
|
2011-01-08 17:16:52 +01:00 |
Daniel Marjamäki
|
67a1c6817b
|
Error message: Replace " with ' around variable name
|
2011-01-08 14:35:18 +01:00 |
Daniel Marjamäki
|
d758929490
|
Fixed #2433 (strtol: false positive when strtol isn't used in function call)
|
2011-01-08 09:23:51 +01:00 |
Daniel Marjamäki
|
d27b6a1598
|
astyle formatting
|
2011-01-07 20:48:02 +01:00 |
Daniel Marjamäki
|
14cbaebfe2
|
Fixed #2428 (false alarm with code containing a throw clause)
|
2011-01-07 20:45:33 +01:00 |
Daniel Marjamäki
|
989e0e7ccb
|
Preprocessor: fix bug when determining location when there is a missing include. ticket: #2326
|
2011-01-07 19:48:51 +01:00 |
Ettl Martin
|
9b66f7a754
|
#ticket 2429: added a test to the mathlib to ensure the used floating point number is recognized correctly
|
2011-01-07 12:27:12 +01:00 |
Robert Reif
|
bfc95e01c1
|
Fixed #2426 (### Internal error in Cppcheck. Please report it.)
|
2011-01-07 08:02:47 +01:00 |
Robert Reif
|
56ffde402f
|
Fixed #2425 (segmentation fault of cppcheck)
|
2011-01-07 07:42:00 +01:00 |
Daniel Marjamäki
|
1b3a5ed0be
|
Tokenizer: simplify NULL to 0 in the normal token list
|
2011-01-06 20:16:14 +01:00 |
Daniel Marjamäki
|
a7835c4054
|
Preprocessor: Reverted fix for #2131, it didn't work well so a better fix is needed
|
2011-01-06 20:01:09 +01:00 |
Daniel Marjamäki
|
37b1f7c296
|
memsetZeroBytes: improved error message. ticket: #2421
|
2011-01-06 16:27:22 +01:00 |
Daniel Marjamäki
|
77ed6ecb5d
|
Null pointers: Added comments
|
2011-01-06 13:18:49 +01:00 |
Daniel Marjamäki
|
04a117938d
|
Buffer overrun: Added comments
|
2011-01-06 13:02:21 +01:00 |
Daniel Marjamäki
|
ca294544ca
|
CheckStl: Added comments
|
2011-01-06 12:20:54 +01:00 |
Daniel Marjamäki
|
616914c1ff
|
Tokenizer: simple refactorings. and added a few comments
|
2011-01-06 12:07:37 +01:00 |
Raphael Geissert
|
6ec4497919
|
[PATCH] Check for calls to memset() where 0 bytes are to be filled
Inspired by Silvio Cesare's work
|
2011-01-06 11:31:58 +01:00 |
Daniel Marjamäki
|
d1854e330b
|
Fixed #2413 (fflush() with NULL argument is valid.)
|
2011-01-06 08:12:34 +01:00 |
Robert Reif
|
03a484554c
|
Fixed #2415 (false positive: Member variable not initialized in constructor calling assignment operator)
|
2011-01-06 07:56:34 +01:00 |
Daniel Marjamäki
|
c74b2e3cbf
|
Fixed #2411 (possible null pointer dereference (aborting via function pointer not detected))
|
2011-01-05 21:48:26 +01:00 |
Daniel Marjamäki
|
033e759c39
|
command line: added 'information' id to enable
|
2011-01-05 21:20:21 +01:00 |
Daniel Marjamäki
|
21af64049c
|
Fixed #2401 (false positive: Uninitialized variable: result)
|
2011-01-05 20:44:04 +01:00 |
Daniel Marjamäki
|
68de938d23
|
Uninitialized variables. Fixed false positive when there are multiple related conditions. ticket: #2399
|
2011-01-05 19:54:56 +01:00 |
Daniel Marjamäki
|
a0d62e041f
|
Tokenizer: Fixed memory corruption
|
2011-01-05 19:38:22 +01:00 |
Robert Reif
|
157498e694
|
Fixed #2412 (typedef: struct with inheritance)
|
2011-01-05 17:42:55 +01:00 |
Robert Reif
|
ed6f683573
|
typedef: better handling. ticket: #2414
|
2011-01-05 17:39:53 +01:00 |
Zachary Blair
|
188871c428
|
Removed an unnecessary newline in the message. Ticket #2343
|
2011-01-05 00:06:53 -08:00 |
Zachary Blair
|
3f97bd5477
|
Fixed #2343 (The ftime obsolete function warning seems wrong)
|
2011-01-04 23:21:02 -08:00 |
Kimmo Varis
|
bb719774b1
|
Improve suspicious condition (string::find) message.
See forum thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2011-01-04 23:19:23 +02:00 |
Kimmo Varis
|
66e8b7bc1e
|
Improve dangerous iterator usage (after erase()) message.
See forum thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2011-01-04 23:18:48 +02:00 |
Kimmo Varis
|
b750a52f6d
|
Improve strncat 3rd parameter usage warning message.
See forum thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2011-01-04 23:17:44 +02:00 |
Daniel Marjamäki
|
d700f25518
|
Fixed #2399 (Tokenizer::simplifyKnownVariables: variables in conditions)
|
2011-01-04 21:35:35 +01:00 |
Daniel Marjamäki
|
63c1ee375e
|
Fixed #2398 (false positive: Uninitialized variable)
|
2011-01-04 19:36:29 +01:00 |
Daniel Marjamäki
|
c2a194ead0
|
Fixed #2393 (Token::Match called with varid 0)
|
2011-01-04 18:34:51 +01:00 |
Daniel Marjamäki
|
2c6421d162
|
Merge branch 'master' of https://github.com/rgeissert/cppcheck into rgeissert-realloc
|
2011-01-04 18:21:18 +01:00 |
Daniel Marjamäki
|
85897c3991
|
Merge branch 'debug-warnings' of https://github.com/rgeissert/cppcheck into rgeissert-debug-warnings
|
2011-01-04 18:17:39 +01:00 |
Robert Reif
|
63208e87d3
|
typedef: delete unhandled typedefs. ticket: #2348
|
2011-01-04 07:43:40 +01:00 |
Robert Reif
|
a782d3ddf7
|
typedef: fix testcase 4. ticket: #2375
|
2011-01-04 07:39:41 +01:00 |
Robert Reif
|
63ad1fbe69
|
Fixed #2400 (Tests crashing in Windows)
|
2011-01-04 07:34:32 +01:00 |
Raphael Geissert
|
2b1ec9a07f
|
Mention the name of the variable in the inconclusive leak msg
|
2011-01-03 20:40:31 -06:00 |
Markus Elfring
|
e459ed1de3
|
Fixed #2389 (mistakable warning from 'CheckClass::uninitVarError')
|
2011-01-03 19:03:42 +01:00 |
Raphael Geissert
|
3d9550b0bf
|
Simplify "x = realloc (0, n);" to "x = malloc(n);"
|
2011-01-02 17:46:10 -06:00 |
Raphael Geissert
|
e75a81669e
|
Move simplification of realloc after simplification of math ops
|
2011-01-02 16:41:34 -06:00 |
Daniel Marjamäki
|
d2714fefda
|
typedef: Fixed testcase. ticket: #2375
|
2011-01-02 17:28:47 +01:00 |
Daniel Marjamäki
|
97f7a36e91
|
Buffer overruns: Added comments
|
2011-01-02 14:16:58 +01:00 |
Daniel Marjamäki
|
2e7e118cb8
|
Fixed #2392 (Preprocessor: Wrong simplification of __VA_ARGS__)
|
2011-01-02 11:19:37 +01:00 |
Daniel Marjamäki
|
b5876f00ff
|
Fixed #2391 (cstdlib file and memory function check misbehavior)
|
2011-01-02 08:32:51 +01:00 |
Daniel Marjamäki
|
4ec9d418ff
|
Fixed #2215 (Improve check: Writing outside malloc bounds not detected)
|
2011-01-01 20:56:21 +01:00 |
Daniel Marjamäki
|
789d944912
|
typedef: don't simplify typedef after 'case'. it means that there is a typedef and constant with the same names. Ticket: #2386
|
2011-01-01 20:20:03 +01:00 |
Daniel Marjamäki
|
2a77dd3df1
|
Fixed #2246 (Improve check: Memory leak, function is not noreturn if return value is taken)
|
2011-01-01 20:14:01 +01:00 |