Slava Semushin
|
bfd49e21e7
|
Added 17 functions which work with FILE structure to white list.
Inspired by previous commit.
|
2009-05-23 18:01:18 +07:00 |
Slava Semushin
|
b5c7316666
|
Fixed ticket #327 (File descriptor leak not detected when feof() used)
Thanks to aggro80@ for help.
http://apps.sourceforge.net/trac/cppcheck/ticket/327
|
2009-05-23 17:20:26 +07:00 |
Reijo Tomperi
|
bbf63b7970
|
Fix ticket #304 (#include <file.h> should be searched from paths given with -I parameter.)
http://apps.sourceforge.net/trac/cppcheck/ticket/304
Note that the ticket is same as with previous commit, but task description was changed a little.
|
2009-05-23 00:18:48 +03:00 |
Reijo Tomperi
|
93d9400f63
|
Fix ticket #304 (#include <file.h> should be parsed like #include "file.h" is being parsed)
http://apps.sourceforge.net/trac/cppcheck/ticket/304
|
2009-05-22 23:59:07 +03:00 |
Reijo Tomperi
|
0f9b2efa43
|
Fix ticket #326 (Reported memory leak when pointer returned by assign to function's parameter)
http://apps.sourceforge.net/trac/cppcheck/ticket/326
|
2009-05-22 23:36:03 +03:00 |
Slava Semushin
|
0f20ce738d
|
Replaced two Token::simpleMatch() calls to one Token::Match().
Suggested by hyd_danmar in ticket
http://apps.sourceforge.net/trac/cppcheck/ticket/323
No functional change.
|
2009-05-22 22:03:42 +07:00 |
Slava Semushin
|
a2a6eebb01
|
Fixed ticket #324 (Teach about fcloseall() function)
http://apps.sourceforge.net/trac/cppcheck/ticket/324
|
2009-05-22 21:47:40 +07:00 |
Slava Semushin
|
b2aaf5d4c7
|
Fixed ticket #300 (wrong level given)
Enable checks of dangerous functions only when --style option used.
http://apps.sourceforge.net/trac/cppcheck/ticket/300
|
2009-05-22 21:35:00 +07:00 |
Slava Semushin
|
4bd1c3fb00
|
Propagate static and const modifiers.
No functional change.
|
2009-05-22 21:20:32 +07:00 |
Slava Semushin
|
e72583b663
|
Removed unused or superfluous headers.
No functional change.
|
2009-05-22 21:17:59 +07:00 |
Slava Semushin
|
3a40c33d7b
|
Updated wrong comments (looks like after copy&paste).
No code change.
|
2009-05-22 21:13:01 +07:00 |
Reijo Tomperi
|
e6017ad54b
|
Fix #299 (Memory leak not detected when parameters contain ::)
http://apps.sourceforge.net/trac/cppcheck/ticket/299
|
2009-05-21 22:51:19 +03:00 |
Daniel Marjamäki
|
f182365bd2
|
Applied patch 0001-Use-Token-simpleMatch-instead-of-Token-Match-w
Author: php-coder
Ticket: http://apps.sourceforge.net/trac/cppcheck/ticket/323
|
2009-05-21 17:55:52 +02:00 |
Daniel Marjamäki
|
47e10b75e3
|
Applied patch 0003-GetAllocationType-mark-some-members-as-static-and-a.patch
Author: php-coder
Ticket: http://apps.sourceforge.net/trac/cppcheck/ticket/321
|
2009-05-21 12:26:44 +02:00 |
Daniel Marjamäki
|
eafb1f823c
|
Applied patch 0002-CheckMemoryLeak-renamed-enum-members.patch
Author: php-coder
|
2009-05-21 12:16:42 +02:00 |
Daniel Marjamäki
|
167ab7ee15
|
Applied patch 0001-src-checkmemoryleak.h-replaced-assignment-in-contru.patch
Author: php-coder
|
2009-05-21 12:11:35 +02:00 |
Reijo Tomperi
|
bb2b2e000b
|
Fix ticket #316 (\n is tokenized into \\ in a string when macro is used)
http://apps.sourceforge.net/trac/cppcheck/ticket/316
|
2009-05-20 21:36:59 +03:00 |
Reijo Tomperi
|
9c60391375
|
Apply patch #320 from php-coderrr ([PATCH] Determine memory leaks after strndup() usage)
http://apps.sourceforge.net/trac/cppcheck/ticket/320
|
2009-05-19 23:29:10 +03:00 |
Reijo Tomperi
|
a3f469d339
|
Fix ticket #315 (Segmentation fault when checking Linux kernel) (previous fix was only partial fix)
http://apps.sourceforge.net/trac/cppcheck/ticket/315
|
2009-05-19 22:19:15 +03:00 |
Reijo Tomperi
|
d6d55c2db4
|
Fix ticket #315 (Segmentation fault when checking Linux kernel)
http://apps.sourceforge.net/trac/cppcheck/ticket/315
|
2009-05-18 23:32:04 +03:00 |
Reijo Tomperi
|
927918f9b0
|
astyle fix
|
2009-05-18 23:30:43 +03:00 |
Daniel Marjamäki
|
bad464ae9b
|
Classes: Static variables don't need to be initialized or assigned in constructors etc
http://apps.sourceforge.net/trac/cppcheck/ticket/307
|
2009-05-17 19:27:16 +02:00 |
Daniel Marjamäki
|
2e61201c18
|
STL: It is ok to compare vector iterators with <
https://apps.sourceforge.net/trac/cppcheck/ticket/313
|
2009-05-17 18:58:32 +02:00 |
Daniel Marjamäki
|
2bd80a7335
|
Fix for ticket 291 - preprocessor: better handling of defines
http://apps.sourceforge.net/trac/cppcheck/ticket/291
|
2009-05-17 18:51:29 +02:00 |
Reijo Tomperi
|
36cdac1b96
|
Fix ticket #312 (division by pointer value causes wrong tokenizing)
http://apps.sourceforge.net/trac/cppcheck/ticket/312
|
2009-05-14 22:53:49 +03:00 |
Reijo Tomperi
|
e5e82274dc
|
Fix ticket #306 (Invalid multi-line comment produces cryptic internal error)
http://apps.sourceforge.net/trac/cppcheck/ticket/306
|
2009-05-13 22:18:02 +03:00 |
Reijo Tomperi
|
997a784bb6
|
Added TODO test case TestPreprocessor::multiline_comment
Made tokenizer to printout token list in case of syntax error, if debug is used
|
2009-05-13 00:01:53 +03:00 |
Reijo Tomperi
|
e83db8ac7b
|
Fix ticket #288 (Tokenizer::syntaxError should use error logger instead of std::cout)
http://apps.sourceforge.net/trac/cppcheck/ticket/288
|
2009-05-11 22:52:04 +03:00 |
Reijo Tomperi
|
fede702bf5
|
Fix ticket #302 (White space between "\" and newline not handled correctly)
http://apps.sourceforge.net/trac/cppcheck/ticket/302
|
2009-05-11 21:12:29 +03:00 |
Daniel Marjamäki
|
15bbd4613e
|
Updated version to 1.32
|
2009-05-10 12:31:47 +02:00 |
Daniel Marjamäki
|
1ae24066fe
|
null pointer dereferencing: check that its a pointer that is dereferenced to avoid false positives when using classes that behave almost like pointers (#295)
|
2009-05-10 08:43:16 +02:00 |
Daniel Marjamäki
|
daea0547fa
|
memory leaks: Handling exit (#297)
|
2009-05-10 08:01:38 +02:00 |
Reijo Tomperi
|
f2a5527e60
|
Fix #289 (if() is not properly tokenized)
http://apps.sourceforge.net/trac/cppcheck/ticket/289
|
2009-05-09 23:12:14 +03:00 |
Reijo Tomperi
|
e7cff4bc43
|
Apply #296 ([PATCH] cppcheck leak memory when -j option uses)
http://apps.sourceforge.net/trac/cppcheck/ticket/296
|
2009-05-09 22:40:22 +03:00 |
Reijo Tomperi
|
63da926ed2
|
Fix ticket #294 (### Error: Invalid number of character ()
http://apps.sourceforge.net/trac/cppcheck/ticket/294
|
2009-05-09 22:32:29 +03:00 |
Daniel Marjamäki
|
e9eba16053
|
templates: fixed problem when for example calling static member function in a template class (#293)
|
2009-05-09 08:02:59 +02:00 |
Daniel Marjamäki
|
dae530d8de
|
template: no usage -> no expansion (#292)
|
2009-05-08 16:19:22 +02:00 |
Reijo Tomperi
|
dd8b738f7f
|
Initial fix for ticket #283 (segmentation fault when checking xterm sources)
http://apps.sourceforge.net/trac/cppcheck/ticket/283
It should print out error message now instead of crashing. Cleanup is needed.
|
2009-05-07 23:17:29 +03:00 |
Daniel Marjamäki
|
917a48cd65
|
templates: don't expand forward declarations for templates
|
2009-05-07 16:05:07 +02:00 |
Reijo Tomperi
|
a12fd4ff5e
|
Fix ticket #282 (protected destructor - false positive)
http://apps.sourceforge.net/trac/cppcheck/ticket/282
|
2009-05-06 23:22:26 +03:00 |
Daniel Marjamäki
|
80fe293c19
|
stl: removed false positives for STL buffer overruns. Bailing out when it can't be checked if the index is ok or not. (#285)
|
2009-05-06 21:55:04 +02:00 |
Daniel Marjamäki
|
a32114b15c
|
memleak: removed false positives for pclose (#286)
|
2009-05-06 21:31:31 +02:00 |
Daniel Marjamäki
|
51beadd81c
|
templates: instantiations in a template class (#280)
|
2009-05-06 21:03:11 +02:00 |
Daniel Marjamäki
|
feba87187a
|
templates: speedup by breaking out inner loops (#257)
|
2009-05-05 20:16:57 +02:00 |
Daniel Marjamäki
|
fd0e592767
|
Preprocessor: Handling newlines when using # to stringify parameters (#281)
|
2009-05-05 17:19:06 +02:00 |
Daniel Marjamäki
|
96ebf343f1
|
speedup: made the token simplifications a little faster
|
2009-05-03 21:32:22 +02:00 |
Daniel Marjamäki
|
7a8b980627
|
templates: extracted the template simplification into a separate function
|
2009-05-03 21:23:47 +02:00 |
Reijo Tomperi
|
0f59ef9064
|
Fix #276 (simplification: Variable value)
http://apps.sourceforge.net/trac/cppcheck/ticket/276
|
2009-05-03 21:57:27 +03:00 |
Reijo Tomperi
|
cb209bbd41
|
Fix #279 (Refactoring: replace and remove Token::aaaa , Token::aaaa0 and Token::aaaa1)
http://apps.sourceforge.net/trac/cppcheck/ticket/279
|
2009-05-03 21:10:59 +03:00 |
Daniel Marjamäki
|
c9eab77683
|
varid: speedup of the algorithm for setting variable ids
|
2009-05-03 14:31:54 +02:00 |