Daniel Marjamäki
|
14fd0154d2
|
memory leaks: simple code cleanup
|
2009-11-15 09:53:38 +01:00 |
Daniel Marjamäki
|
5dd7b054f9
|
Fixed #915 (false positive: memory leak for struct member (allocated in condition)
|
2009-11-15 09:28:08 +01:00 |
Daniel Marjamäki
|
ebf907cbc0
|
Fixed #936 (false positive: uninitialized variable '.. else return; .. ')
|
2009-11-14 20:37:54 +01:00 |
Slava Semushin
|
11cb7b4710
|
Fixed #961 (Tokenizer: call simplifyCasts() before removing "unsigned" keyword)
http://sourceforge.net/apps/trac/cppcheck/ticket/961
|
2009-11-14 17:01:59 +06:00 |
Daniel Marjamäki
|
fee96f3cd6
|
Fixed #944 (new false positives against Wine Git Tree)
|
2009-11-14 09:06:28 +01:00 |
Daniel Marjamäki
|
ec6d66ff45
|
Fixed #913 (false positive: uninitialized variable)
|
2009-11-14 08:00:17 +01:00 |
Daniel Marjamäki
|
a36c410d45
|
Preprocessor: When #error is encountered the result is an empty string => don't check configuration
|
2009-11-13 22:12:29 +01:00 |
Daniel Marjamäki
|
1187587521
|
Fixed #919 (possible memory leak not detected)
|
2009-11-13 20:22:28 +01:00 |
Slava Semushin
|
2ec5438186
|
Fixed #954 (Tokenizer: correctly simplify sizeof of class members)
http://sourceforge.net/apps/trac/cppcheck/ticket/954
|
2009-11-14 01:07:44 +06:00 |
Reijo Tomperi
|
c4244ac9e8
|
Fix #945 (Array index out of bounds not detected, because of "int const")
http://sourceforge.net/apps/trac/cppcheck/ticket/945
|
2009-11-12 23:49:39 +02:00 |
Reijo Tomperi
|
3d5760b149
|
Fix #947 (Errors not detected when size_t is used instead of int)
http://sourceforge.net/apps/trac/cppcheck/ticket/947
|
2009-11-12 23:31:13 +02:00 |
Reijo Tomperi
|
0518eed937
|
Fix #946 (False positive: Buffer access out-of-bounds)
http://sourceforge.net/apps/trac/cppcheck/ticket/946
|
2009-11-12 23:24:44 +02:00 |
Daniel Marjamäki
|
b2cec721c0
|
Fixed #951 (Preincremented struct member confused with numeric constant)
|
2009-11-12 22:16:24 +01:00 |
Reijo Tomperi
|
d2db4d3a27
|
Test case for #903 (segmentation fault of cppcheck)
http://sourceforge.net/apps/trac/cppcheck/ticket/903
|
2009-11-12 21:04:11 +02:00 |
Daniel Marjamäki
|
c337b4eb33
|
Fixed #950 (Bug in cppcheck tokenize.cpp)
|
2009-11-12 18:53:26 +01:00 |
Daniel Marjamäki
|
39614a699e
|
Uninitialized variables: detect uninitialized pointer array
|
2009-11-10 19:35:54 +01:00 |
Daniel Marjamäki
|
c301dc1907
|
Fixed #928 (false positive: member variable not initialized in constructor)
|
2009-11-10 19:30:37 +01:00 |
Daniel Marjamäki
|
b470ea06b8
|
Fixed #931 (Invalid interator false positive with identical variable names)
|
2009-11-10 19:07:04 +01:00 |
Daniel Marjamäki
|
e0b1303b50
|
Fixed #929 (Uninitialized variable false positive)
|
2009-11-10 18:05:55 +01:00 |
Daniel Marjamäki
|
51f983629b
|
Fixed #932 (false positive: Dereferenced iterator 'i' has been erased)
|
2009-11-10 17:20:20 +01:00 |
Daniel Marjamäki
|
d85fb9dd3d
|
unit testing: minor syntax updates
|
2009-11-09 20:40:30 +01:00 |
Daniel Marjamäki
|
1fe94d74b8
|
unit testing: minor syntax fixes
|
2009-11-09 20:34:36 +01:00 |
Daniel Marjamäki
|
41e59d8348
|
Fixed #832 (Exception Safety: deallocating member pointer and then throwing exception)
|
2009-11-08 09:54:08 +01:00 |
Daniel Marjamäki
|
4b04ed9ad9
|
Fixed #910 (false positive: uninitialized variable for array)
|
2009-11-08 07:31:01 +01:00 |
Daniel Marjamäki
|
52eb32eb5b
|
testbufferoverrun.cpp: fixed unit test error
|
2009-11-07 19:59:03 +01:00 |
Daniel Marjamäki
|
3b9b3b241e
|
testbufferoverrun.cpp: minor updates to make it work better as extracted code
|
2009-11-07 19:51:18 +01:00 |
Daniel Marjamäki
|
3bd36226d6
|
testbufferoverrun: minor updates to make the code more easily compilable
|
2009-11-07 18:03:33 +01:00 |
Daniel Marjamäki
|
d88c236efe
|
uninitialized data: minor fix to handle 'new char [' better
|
2009-11-07 14:54:12 +01:00 |
Daniel Marjamäki
|
60caefe069
|
uninitialized data: added more checking for allocated data
|
2009-11-07 09:10:15 +01:00 |
Daniel Marjamäki
|
0c8d327809
|
Fixed #907 (Tokenizer: known result of strlen)
|
2009-11-07 08:25:39 +01:00 |
Reijo Tomperi
|
b222ef89be
|
Fix #903 (false positive: buffer access out of bounds)
http://sourceforge.net/apps/trac/cppcheck/ticket/903
|
2009-11-07 00:58:33 +02:00 |
Daniel Marjamäki
|
77b676937d
|
cleanup in testbufferoverrun.cpp
|
2009-11-06 19:15:59 +01:00 |
Daniel Marjamäki
|
c561a36cc7
|
uninitialized variables: better checking of strncpy
|
2009-11-06 19:06:45 +01:00 |
Daniel Marjamäki
|
7397bfc765
|
Fixed #904 (false positive: uninitialized variable)
|
2009-11-06 16:50:02 +01:00 |
Daniel Marjamäki
|
53f7b12b4f
|
Fixed #902 (false positive: uninitialized variable when variable is initialized in macro)
|
2009-11-06 16:02:13 +01:00 |
Daniel Marjamäki
|
58c54d2ed4
|
Fixed #898 (Tokenizer: remove unneeded const after *)
|
2009-11-05 21:30:05 +01:00 |
Daniel Marjamäki
|
442584151b
|
Fixed #897 (false positive: uninitialized variable when assigning pointer to array to struct member)
|
2009-11-05 21:07:04 +01:00 |
Reijo Tomperi
|
de4ca924b5
|
Fixed #896 (False positive with --all when return value of open() is positive in a loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/896
|
2009-11-05 00:58:15 +02:00 |
Daniel Marjamäki
|
141b91ae08
|
updated error message when memory leaks upon exception
|
2009-11-04 20:45:26 +01:00 |
Reijo Tomperi
|
9a55f4ca43
|
Add one more test case for #895 (false positive: Suspicious pointer subtraction)
|
2009-11-04 21:38:40 +02:00 |
Reijo Tomperi
|
80c66f8ebc
|
Fix #895 (false positive: Suspicious pointer subtraction)
http://sourceforge.net/apps/trac/cppcheck/ticket/895
|
2009-11-04 21:36:27 +02:00 |
Reijo Tomperi
|
00b62442b6
|
Fix #894 (Invalid line number in "Invalid number of character")
http://sourceforge.net/apps/trac/cppcheck/ticket/894
|
2009-11-03 22:21:28 +02:00 |
Daniel Marjamäki
|
c3dff9a6d3
|
Fixed #893 (False Positive: Uninitialized variable b in a[0] = b[0] = '\0';)
|
2009-11-03 21:02:16 +01:00 |
Daniel Marjamäki
|
68f63fdd75
|
Exception safety: added check for unsafe reallocation of member pointer
|
2009-11-03 20:26:52 +01:00 |
Daniel Marjamäki
|
616a760b6c
|
Exception Safety: detect unsafe multiple new in a execution path (#831)
|
2009-11-03 19:43:51 +01:00 |
Daniel Marjamäki
|
797e9aeaf5
|
Fixed #890 (false positive: Uninitialized variable when pointer takes the address to array)
|
2009-11-03 17:03:53 +01:00 |
Reijo Tomperi
|
7fc72484ec
|
Fix #881 (Tokenizer: Something seems to be wrong in Tokenizer::simplifyKnownVariables)
http://sourceforge.net/apps/trac/cppcheck/ticket/881
|
2009-11-03 00:07:15 +02:00 |
Daniel Marjamäki
|
87800185c4
|
STL: refactoring and fixing
|
2009-11-02 21:53:01 +01:00 |
Daniel Marjamäki
|
89d94895a4
|
Refactoring
|
2009-11-02 21:17:33 +01:00 |
Daniel Marjamäki
|
bc3b12db72
|
astyle formatting
|
2009-11-02 20:25:08 +01:00 |