Daniel Marjamäki
|
76221c0916
|
Fixed #1510 (false positive '(possible error) Memory leak' when 'a = b = new ...; delete a' (but not b))
|
2010-06-12 13:37:44 +02:00 |
Daniel Marjamäki
|
3a4a151cc4
|
reverted 'added a todo testcase for ticket #1788'
|
2010-06-12 08:36:10 +02:00 |
Daniel Marjamäki
|
f3fbdc96e1
|
Fixed #1788 (Tokenizer: template destructor is lost)
|
2010-06-12 08:32:05 +02:00 |
Martin Ettl
|
69ecc24bf5
|
added a few testcases for checking memory leaks in classes
|
2010-06-11 13:33:10 +02:00 |
Martin Ettl
|
81828742ac
|
added a todo testcase for ticket #1788
|
2010-06-11 13:23:10 +02:00 |
Martin Ettl
|
be9c23cb1a
|
added todo-testcase for ticket #1401
|
2010-06-10 22:49:34 +02:00 |
Robert Reif
|
3d2c28a524
|
Fixed #1784 (false positive: Variable is not assigned a value)
|
2010-06-10 07:21:47 +02:00 |
Robert Reif
|
6b65b77acf
|
Fixed #1782 ((error) ### Internal error in Cppcheck. Please report it.)
|
2010-06-10 07:18:55 +02:00 |
Daniel Marjamäki
|
e64ce2e812
|
Fixed #1781 (false positive: uninitialized variable when using asm statement in macro)
|
2010-06-09 21:28:15 +02:00 |
Martin Ettl
|
c9cd5ea250
|
added a todo testcase for ticket 1778
|
2010-06-09 01:21:52 +02:00 |
Robert Reif
|
00dcec47ac
|
Variable usage: read variable when using syntax '..=*(p);'
|
2010-06-08 18:26:14 +02:00 |
Robert Reif
|
f37a7ba934
|
Variable usage: Added TODO testcases for handling pointer alias. Ticket: #1729
|
2010-06-06 20:37:48 +02:00 |
Martin Ettl
|
0d34416bce
|
added TODO_TESTCASE for ticket 1734: Array index out of bounds
|
2010-06-06 16:20:50 +02:00 |
Martin Ettl
|
2b557cee45
|
added a TODO testcase for ticket 1724
|
2010-06-06 12:46:08 +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
|
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 |
Daniel Marjamäki
|
b11e23eb08
|
Fixed #1721 (False negative: uninitialized variable in switch block)
|
2010-06-03 20:02:58 +02:00 |
Martin Ettl
|
90a3d29d70
|
run astyle
|
2010-06-03 18:23:16 +02:00 |
Martin Ettl
|
156a29815f
|
removed a wrong const declaration
|
2010-06-03 12:55:56 +02:00 |
Martin Ettl
|
7b52284177
|
added a testcase and todo testcases for ticket #1724
|
2010-06-03 12:51:42 +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
|
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 |
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
|
a8f38e55dc
|
Added unit test for ticket #1720
|
2010-06-01 20:00:43 +02: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 |
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
|
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 |