Reijo Tomperi
|
a1d0defbc0
|
astyle fix
|
2010-04-02 21:42:06 +03:00 |
Martin Ettl
|
c391a03db6
|
added acos() check to ticket #1513; added testcases for MathLib::toDoubleNumber(), now double conversion of zeros is handled correctly; changed assertEquals() function of testsuite parameters from unsigned int to double. This is needed to avoid overflow of unsigned int by comparing negative floating point values.
|
2010-04-02 20:23:37 +02:00 |
Daniel Marjamäki
|
734b10e650
|
Fixed #1479 (false positive: unintialized variable when using goto)
|
2010-04-02 08:35:05 +02:00 |
Daniel Marjamäki
|
8b5aae9adb
|
astyle formatting
|
2010-04-02 07:32:03 +02:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Martin Ettl
|
b5fb01c202
|
ticket #1513 new check: Detecting obviously wrong math call arguments passed to math functions)
|
2010-04-02 02:19:38 +02:00 |
Daniel Marjamäki
|
c3edc5fd89
|
Fixed #1148 (improve check: usage of uninitialized variables)
|
2010-03-28 21:27:06 +02:00 |
Daniel Marjamäki
|
c7867af3c5
|
Fixed #1533 (False positive: Uninitialized variable)
|
2010-03-28 10:42:37 +02:00 |
Raphael Geissert
|
c0e09c4cb3
|
Fixed #1511 (false negative null pointer deref when dereferencing pointers to constants)
|
2010-03-26 16:44:46 +01:00 |
Daniel Marjamäki
|
15d67a2369
|
Fixed #1503 (False positive for uninitialized variable)
|
2010-03-16 19:09:37 +01:00 |
Daniel Marjamäki
|
7f42ed3ad0
|
Fixed #1472 (false positive: Data is allocated but not initialized: service)
|
2010-03-07 09:08:52 +01:00 |
Daniel Marjamäki
|
6ca4b008d0
|
null pointer: Fixed better error message for 'possible null pointer' + removed redundant check in our Tokenizer.
|
2010-02-28 07:26:50 +01:00 |
Reijo Tomperi
|
b35acc1e6b
|
Add TODO test case for #1444 (inline suppression suppress all errors of the same type in a function)
http://sourceforge.net/apps/trac/cppcheck/ticket/1444
|
2010-02-25 22:55:09 +02:00 |
Daniel Marjamäki
|
0b2ad2164f
|
Fixed #1442 (false positive: getting offset instead of dereferencing a null pointer)
|
2010-02-22 21:30:21 +01:00 |
Daniel Marjamäki
|
6a03fa604c
|
Fixed #1402 (false positive: uninitialized variable)
|
2010-02-20 09:35:57 +01:00 |
Daniel Marjamäki
|
b59d79c303
|
readded checks for unused variables and unreachable code that were removed in 42c608b6f0
|
2010-02-18 18:45:13 +01:00 |
Daniel Marjamäki
|
db2c362604
|
Fixed #1389 (false positive: uninitialized variable)
|
2010-02-17 18:10:50 +01:00 |
Reijo Tomperi
|
7e2e20c2d3
|
astyle fix
|
2010-02-08 09:35:53 +02:00 |
Monika Lukow
|
2d5d060514
|
Fixed #1094 (Improve check: unusual pointer arithmetic: 'ch+str')
|
2010-02-07 21:44:11 +01:00 |
Daniel Marjamäki
|
0d18050b55
|
Fixed #984 (improve output if strncpy is followed by strncat)
|
2010-02-05 17:35:18 +01:00 |
Daniel Marjamäki
|
1b9afc82a4
|
Reverted 4f30468c80 . There was false positives such as #1335 so please fix them and then re-commit.
|
2010-02-01 19:46:51 +01:00 |
Monika Lukow
|
4f30468c80
|
Fixed #1094 (Improve check: unusual pointer arithmetic: 'ch+str')
|
2010-01-31 11:42:02 +01:00 |
Daniel Marjamäki
|
48f3921c36
|
Null pointer dereference: sending to output stream
|
2010-01-30 14:40:33 +01:00 |
Daniel Marjamäki
|
019f775aa5
|
TestOther::uninitvar1: refactoring. splitting up this function into multiple functions
|
2010-01-24 15:23:21 +01:00 |
Daniel Marjamäki
|
43c8fe895c
|
Fixed #1301 (False positive: Data is allocated but not initialized)
|
2010-01-23 21:25:17 +01:00 |
Daniel Marjamäki
|
037ecffc34
|
detect when function pointer that is null is used
|
2010-01-23 09:15:30 +01:00 |
Daniel Marjamäki
|
7b986c831d
|
Report when using uninitialized function pointer
|
2010-01-23 07:57:57 +01:00 |
Daniel Marjamäki
|
2e707974d0
|
Fixed #1273 (scope of variable limited not detected in latest versions)
|
2010-01-21 18:50:56 +01:00 |
Daniel Marjamäki
|
fbf428550a
|
Fixed #1262 (cppcheck false positives: 'Possible null pointer dereference', 'Uninitialized variable')
|
2010-01-17 19:08:45 +01:00 |
Daniel Marjamäki
|
a7bddc8fd3
|
Fixed #1268 (Null pointer dereference false positive)
|
2010-01-14 20:02:38 +01:00 |
Daniel Marjamäki
|
cefa695dba
|
Fixed #1265 ((error) Uninitialized variable on macro expansion)
|
2010-01-13 19:37:55 +01:00 |
Daniel Marjamäki
|
374def4a53
|
Fixed #1070 (Improve scope error message)
|
2010-01-12 19:34:33 +01:00 |
Daniel Marjamäki
|
d3b7f5931f
|
Fixed #1174 (improve check: Unintialized variable not detected in subfunction)
|
2010-01-11 22:28:07 +01:00 |
Daniel Marjamäki
|
b8b6b0ec32
|
Uninitialized variables: fixed false positives when using pointer aliasing
|
2010-01-11 19:25:01 +01:00 |
Daniel Marjamäki
|
8be54b592d
|
ExecutionPath: better handling of for/while/do/switch, it doesn't bail out everything
|
2010-01-10 22:05:51 +01:00 |
Daniel Marjamäki
|
c5966bba59
|
Fixed #1225 (false negative :: uninitialized variable not detected when using enums)
|
2010-01-10 20:36:15 +01:00 |
Daniel Marjamäki
|
b82cb2e41e
|
Fixed #1218 (Improve check: incrementing uninitialized variable i++)
|
2010-01-10 09:09:37 +01:00 |
Daniel Marjamäki
|
4c641ed80c
|
Fixed #1189 (false negative: using uninitialized variable i 'a[i] = 0;')
|
2010-01-09 22:26:05 +01:00 |
Daniel Marjamäki
|
2dd0907146
|
fixed segmentation fault
|
2010-01-08 21:54:24 +01:00 |
Daniel Marjamäki
|
ca74f57fd0
|
Fixed #1237 (Uninitialized variable false positive for return-value pattern in pan source code.)
|
2010-01-08 21:24:48 +01:00 |
Daniel Marjamäki
|
e248f7d3e5
|
Fixed #1023 (improve check: Unintialized variable not detected when using +=)
|
2010-01-03 18:49:13 +01:00 |
Daniel Marjamäki
|
e286896d75
|
Fixed #1216 (false positive: uninitialized variable when using exit|abort)
|
2010-01-03 15:35:32 +01:00 |
Daniel Marjamäki
|
fa535ff3ae
|
Fixed #440 (NULL referencing not detected)
|
2010-01-03 13:30:20 +01:00 |
Daniel Marjamäki
|
1032eb2449
|
Fixed #1214 (false positive: uninitialized variable 'bool fixed = std::ios_base::fixed;')
|
2010-01-03 08:03:28 +01:00 |
Daniel Marjamäki
|
d82079e86f
|
Fixed #1209 (False positive: uninitialized variable c when it is initialized with 'ab(sizeof(xyz), &c)')
|
2010-01-02 18:16:44 +01:00 |
Daniel Marjamäki
|
2e62a3f4c7
|
Fixed #1202 (false positive: uninitialized variable when using 'do')
|
2010-01-02 09:08:36 +01:00 |
Daniel Marjamäki
|
071b7b463d
|
Fixed #1200 (false positive 'uninitialized variable' when using throw)
|
2010-01-01 20:12:39 +01:00 |
Daniel Marjamäki
|
f8bd59f5b5
|
Fixed #1191 (false positive: uninitialized variable)
|
2010-01-01 19:43:02 +01:00 |
Daniel Marjamäki
|
7ecd333ffa
|
Fixed #1188 (false negative: dereferencing p, which is a null pointer 'int y = 5 + *p')
|
2009-12-31 20:00:20 +01:00 |