Daniel Marjamäki
|
e64ce2e812
|
Fixed #1781 (false positive: uninitialized variable when using asm statement in macro)
|
2010-06-09 21:28:15 +02:00 |
Robert Reif
|
00dcec47ac
|
Variable usage: read variable when using syntax '..=*(p);'
|
2010-06-08 18:26:14 +02:00 |
Daniel Marjamäki
|
472bd9dabe
|
Fixed #1726 (False negative: null pointer dereference in switch block)
|
2010-06-06 12:15:31 +02:00 |
Daniel Marjamäki
|
e140ff6e84
|
Memory leaks: skipping function call inside allocation
|
2010-06-06 11:22:59 +02:00 |
Daniel Marjamäki
|
a9196e8710
|
Memory leaks: Added allocation function 'g_strdup_printf'
|
2010-06-06 11:09:19 +02:00 |
Daniel Marjamäki
|
68ad8219ed
|
Fixed #1722 (Member variable initialized in call to base class constructor)
|
2010-06-06 08:29:35 +02:00 |
Martin Ettl
|
f75ca79849
|
applied patch from php-coder from ticket 1724; removed TODO_TESTCASES;
|
2010-06-05 19:49:49 +02:00 |
Daniel Marjamäki
|
1de6e94947
|
Code coverage: Removed unused code
|
2010-06-05 11:25:47 +02:00 |
Daniel Marjamäki
|
07e00d57d9
|
Fixed #1725 (segfault in ExecutionPath::bailOutVar (probably caused by #1721 fix))
|
2010-06-05 09:45:35 +02:00 |
Leandro Lisboa Penz
|
4ac7da7d51
|
Fixed #73 (memory leaks not found when calling a function that returns allocated memory through a parameter)
|
2010-06-04 20:58:50 -03:00 |
Zachary Blair
|
2645e96783
|
Applied review suggestions for Ticket #568
|
2010-06-03 22:42:54 -07:00 |
Daniel Marjamäki
|
b11e23eb08
|
Fixed #1721 (False negative: uninitialized variable in switch block)
|
2010-06-03 20:02:58 +02:00 |
Robert Reif
|
4c4844b722
|
Fixed #1723 (Variable assigned value which is never used but is thrown)
|
2010-06-03 07:05:57 +02:00 |
Daniel Marjamäki
|
09e02b9f9f
|
updated --help output. The --enable is used to enable additional checks.
|
2010-06-02 21:34:03 +02:00 |
Daniel Marjamäki
|
cb43168d81
|
Fixed #1720 (segmentation fault of cppcheck)
|
2010-06-02 18:10:32 +02:00 |
Daniel Marjamäki
|
5789eb116d
|
astyle formatting
|
2010-06-02 18:09:25 +02:00 |
Daniel Marjamäki
|
8ead23fc91
|
CheckOther::nullConstantDereference: Fixed cppcheck warning message - tok may become null
|
2010-06-02 18:06:37 +02:00 |
Daniel Marjamäki
|
28ad69e4b3
|
Refactoring of CheckOther::nullConstantDereference
|
2010-06-02 17:53:45 +02:00 |
Zachary Blair
|
33b4254d33
|
Fixed #568 (string functions with command line arguments may overflow buffer)
|
2010-06-01 22:41:07 -07:00 |
Daniel Marjamäki
|
45821b3871
|
Fixed #1719 (False negative: memory leak (fgets in condition))
|
2010-05-31 18:20:34 +02:00 |
Daniel Marjamäki
|
9b1ed1112b
|
Memory leaks: Fixed bug in CheckMemoryLeak::functionReturnType
|
2010-05-30 20:30:08 +02:00 |
Daniel Marjamäki
|
08b6e6ee09
|
Fixed #1717 (False positive: Resource leak with while)
|
2010-05-30 13:15:15 +02:00 |
Daniel Marjamäki
|
83c62eca9c
|
Tokenizer: simplify loops that continue while errno is EINTR
|
2010-05-30 12:49:39 +02:00 |
firewave
|
62093d764d
|
Fixed Visual Studio 2010 warning
|
2010-05-30 10:44:03 +02:00 |
Daniel Marjamäki
|
37ae4692bb
|
Uninitialized variables: fixed false negative when using uninitialized variable inside malloc call
|
2010-05-30 10:30:51 +02:00 |
Daniel Marjamäki
|
1ec49430e3
|
Uninitialized variables: better handling when uninitialized variables are used in function calls
|
2010-05-30 09:31:10 +02:00 |
Daniel Marjamäki
|
ab41879246
|
ExecutionPath: Better handling of 'FOREACH (..) {}'
|
2010-05-30 09:00:18 +02:00 |
Daniel Marjamäki
|
f41334e58a
|
ExecutionPath: better handling of 'FOREACH(..){..}'
|
2010-05-30 08:26:44 +02:00 |
Daniel Marjamäki
|
d3ed1c8960
|
Refactoring uninitialized variables (checking variable declarations)
|
2010-05-30 08:02:39 +02:00 |
Daniel Marjamäki
|
406cbda563
|
Uninitialized variables: better handling of struct variables
|
2010-05-30 07:55:11 +02:00 |
Daniel Marjamäki
|
46b5e4e79a
|
Fixed #1716 (Wrong reporting of leak with close() in a while loop condition)
|
2010-05-29 22:20:10 +02:00 |
Daniel Marjamäki
|
0c6352a826
|
Memory leaks: small fixes. add checking of 'g_fopen'. don't let 'fclose' calls be interpreted as 'callfunc'
|
2010-05-29 21:56:18 +02:00 |
Daniel Marjamäki
|
495dfde32c
|
Fixed #1716 (Wrong reporting of leak with close() in a while loop condition)
|
2010-05-29 21:11:59 +02:00 |
Daniel Marjamäki
|
24703418bd
|
Fixed #1715 (switch with fallthrough and 'return' confuses cppcheck)
|
2010-05-29 20:55:09 +02:00 |
Daniel Marjamäki
|
d09e1df0d7
|
Fixed #1714 (Wrong precedence for shift operators when simplifying calculations?)
|
2010-05-29 20:27:08 +02:00 |
Daniel Marjamäki
|
b702b8542d
|
Memory leaks: enabled the leaks checking when members are not deallocated in the destructor. This checking was previously an --all check so there could be false positives.
|
2010-05-29 19:29:59 +02:00 |
Daniel Marjamäki
|
7601089bee
|
astyle formatting
|
2010-05-29 11:19:56 +02:00 |
Daniel Marjamäki
|
82f030df2c
|
the virtual destructor error message needs to be restricted. marked the checking as inconclusive for now.
|
2010-05-29 11:19:28 +02:00 |
Zachary Blair
|
fe1fa4022d
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2010-05-28 22:53:54 -07:00 |
Robert Reif
|
1a25183e8f
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-29 07:52:06 +02:00 |
Zachary Blair
|
59086fa599
|
Fixed #818 (Detect sprintf buffer overrun with struct members)
|
2010-05-28 22:51:28 -07:00 |
Robert Reif
|
3fb0260ef1
|
Fixed #1713 (remove Microsoft variants of inline)
|
2010-05-29 07:43:58 +02:00 |
Robert Reif
|
26a7d29760
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-28 06:55:54 +02:00 |
Daniel Marjamäki
|
d3c20cac81
|
Fixed #1712 (False negative: dereferencing uninitialized pointer)
|
2010-05-27 19:00:52 +02:00 |
Robert Reif
|
dc34a1b3ff
|
Fixed #1711 (Wrong typedef name shown when struct declared with __attribute__)
|
2010-05-27 18:15:42 +02:00 |
Robert Reif
|
8881a0c361
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-27 07:00:33 +02:00 |
Robert Reif
|
176b41caa5
|
Fixed #1709 (char buffer that is only accessed with pointers is marker not assigned)
|
2010-05-26 19:22:35 +02:00 |
Daniel Marjamäki
|
d23f63c805
|
astyle formatting
|
2010-05-26 19:21:34 +02:00 |
Daniel Marjamäki
|
88e9a4ade6
|
Fixed #1704 (false negative: null pointer dereference)
|
2010-05-26 19:16:42 +02:00 |
Zachary Blair
|
619cfbc56f
|
Fixed #168 (buffer overflow: not enough room for the null terminator)
|
2010-05-26 01:56:34 -07:00 |