Daniel Marjamäki
|
448c03c6e6
|
Fixed #2367 (false positive: (error) Uninitialized variable: s)
|
2010-12-27 21:05:33 +01:00 |
Daniel Marjamäki
|
92acca3d0c
|
Fixed #2368 (assigned a value that is never used)
|
2010-12-27 20:49:07 +01:00 |
Kimmo Varis
|
e8b81f909d
|
Change 'Scope of variable'-message to information message.
|
2010-12-27 16:48:03 +02:00 |
Ettl Martin
|
ccde32b210
|
Created to testcase (#2368) for assigned a value that is never used false positive
|
2010-12-27 15:12:17 +01:00 |
Daniel Marjamäki
|
3853f93b34
|
TestClass: addon for 12f28507 , fix a few more error messages.
|
2010-12-27 08:22:21 +01:00 |
Daniel Marjamäki
|
2367cfcf1e
|
Fixed #2361 (false positive on t[0X10])
|
2010-12-27 08:09:05 +01:00 |
Kimmo Varis
|
12f2850777
|
Improve the message about const function.
See discussion thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192
|
2010-12-26 23:44:03 +02:00 |
Kimmo Varis
|
f5f2a2ce2a
|
Improve message for container type range check.
See thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0
|
2010-12-26 23:44:02 +02:00 |
Kimmo Varis
|
ad89a84796
|
Improve error message about overlapping buffers for s[n]printf().
See forum thread:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0
|
2010-12-26 23:44:01 +02:00 |
Daniel Marjamäki
|
6aa400fd80
|
Buffer overrun: UB when pointer arithmetic result points out of bounds. Ticket #1774
|
2010-12-26 21:23:28 +01:00 |
Daniel Marjamäki
|
6178459c15
|
Fixed #2304 (Tokenizer::simplifyKnownVariables: known strcpy parameter)
|
2010-12-26 20:34:07 +01:00 |
Daniel Marjamäki
|
5f3d2a7e35
|
Fixed #2090 (False negative: null pointer dereference 's=0; strcpy(s,p);')
|
2010-12-26 19:29:58 +01:00 |
Daniel Marjamäki
|
f4581d833d
|
Tokenizer: Bailout if @ is encountered in the code
|
2010-12-26 15:07:14 +01:00 |
Daniel Marjamäki
|
243a524909
|
Fixed #2350 (false positive: possible null pointer dereference)
|
2010-12-26 13:38:16 +01:00 |
Daniel Marjamäki
|
f7a83b4d90
|
astyle formatting
|
2010-12-26 13:18:23 +01:00 |
Pete Johns
|
64e2c8668c
|
Fixed #2358 (Compilation fail on Mac)
Added test case to prove it works. Not a true unit-test as it accesses the file-system.
|
2010-12-26 23:04:07 +11:00 |
Daniel Marjamäki
|
ecad249ae2
|
Fixed #2346 (False positive: pointer is assigned value that is never used. used here: 'pCol = pCol->GetNext()')
|
2010-12-25 19:17:53 +01:00 |
Daniel Marjamäki
|
10ee43790d
|
Fixed #2339 (Tokenizer::setVarId : Wrong handling of 'int gr = id - (TLFPressProperties::OIL_FLUID * nb);')
|
2010-12-25 12:40:44 +01:00 |
Daniel Marjamäki
|
6f8f0e1aa1
|
Fixed #2353 (Tokenizer::simplifyKnownVariables: wrong simplification after return)
|
2010-12-25 10:07:57 +01:00 |
Daniel Marjamäki
|
81c5576eb4
|
Misused scope objects: Don't use this check if the checked file is a pure C file. Ticket: #2352
|
2010-12-25 08:43:52 +01:00 |
Daniel Marjamäki
|
335d164cdf
|
Fixed #2356 (False positive reported with iterator deletion)
|
2010-12-24 10:33:48 +01:00 |
Daniel Marjamäki
|
18fd12006a
|
Tokenizer::simplifyGoto: Don't simplify 'goto' inside unhandled macro calls. Ticket: #2348
|
2010-12-23 22:03:58 +01:00 |
Daniel Marjamäki
|
472ecd8805
|
Tokenizer: Fixed calculation simplification of '0*(*p)'. Ticket: #2348
|
2010-12-23 18:59:18 +01:00 |
Daniel Marjamäki
|
aff3623fec
|
Fixed #2345 (False positive: uninitialized variable (in sub-condition in if inside a loop))
|
2010-12-23 09:16:29 +01:00 |
Daniel Marjamäki
|
be46d453c4
|
Information: Added new severity
|
2010-12-22 19:53:17 +01:00 |
Robert Reif
|
fc7e2d1ac1
|
Fixed #2341 (false positive for function pointer returning typedef)
|
2010-12-22 18:37:23 +01:00 |
Daniel Marjamäki
|
00e9822cb3
|
Fixed #2337 (False Positive: memory leak)
|
2010-12-22 18:32:00 +01:00 |
Daniel Marjamäki
|
f392dbef95
|
Fixed #2338 (False positive: Deallocating a deallocated pointer)
|
2010-12-22 08:24:50 +01:00 |
Daniel Marjamäki
|
6951c32683
|
Fixed #2336 (False positive: memory leak (passing pointer to subfunction))
|
2010-12-21 21:12:45 +01:00 |
Daniel Marjamäki
|
0f9415a5fb
|
Fixed #2330 (unreadVariable error for a fstream object when only extraction operator (>>) is used)
|
2010-12-21 19:02:00 +01:00 |
Robert Reif
|
244974a61a
|
unused variables: fixed false negatives with the help of the symbol database. ticket: #2317
|
2010-12-21 08:13:40 +01:00 |
Daniel Marjamäki
|
f73cce9eca
|
Fixed #2317 ((style) Variable is allocated memory that is never used)
|
2010-12-20 18:31:16 +01:00 |
Daniel Marjamäki
|
cdc8801be0
|
Fixed #2334 (Internal class index function (no need to 'strchr'))
|
2010-12-20 18:13:26 +01:00 |
Daniel Marjamäki
|
02892499d2
|
Fixed #2286 (Variable 'ownKilled' is assigned a value that is never used)
|
2010-12-19 18:27:31 +01:00 |
Daniel Marjamäki
|
8247270f35
|
Fixed #2328 (false positive: buffer overrun (for loop with a break => the end value is not reached))
|
2010-12-19 10:39:43 +01:00 |
Daniel Marjamäki
|
afbf5a8ef3
|
Visual Studio: updated project files with qmake
|
2010-12-19 07:51:34 +01:00 |
Daniel Marjamäki
|
41ac2c252f
|
Fixed #2325 (Tokenizer: Remove for-loop if condition is false)
|
2010-12-18 21:43:12 +01:00 |
Kimmo Varis
|
67713e47bd
|
Update test.pro for using base path for included pri files.
|
2010-12-18 17:07:20 +02:00 |
Daniel Marjamäki
|
da15277675
|
QMake: added test/test.pro
|
2010-12-18 12:13:11 +01:00 |
Daniel Marjamäki
|
8ffc2b0ac6
|
Tokenizer: better handling for switch/break in the simplifyKnownVariables. Ticket: #2324
|
2010-12-18 11:14:31 +01:00 |
Daniel Marjamäki
|
f6c00fc478
|
Fixed #2323 (false positive: Buffer access out of bounds)
|
2010-12-18 10:54:36 +01:00 |
Daniel Marjamäki
|
fc9c450eed
|
Fixed #2320 (false positive: Uninitialized variable: kbuf)
|
2010-12-18 10:06:21 +01:00 |
Daniel Marjamäki
|
7eb9855104
|
Tokenizer: Remove redundant parantheses in rhs. Ticket: #2320
|
2010-12-18 09:44:58 +01:00 |
Daniel Marjamäki
|
814efb2512
|
Fixed #2313 (False Positive: memory leak)
|
2010-12-17 21:34:22 +01:00 |
Daniel Marjamäki
|
7050e9610b
|
checkmemoryleaks: added assertion for todo assertion
|
2010-12-17 21:30:02 +01:00 |
Daniel Marjamäki
|
c2335f845e
|
Fixed #2306 (False positive: array of std::string is reported as uninitialized)
|
2010-12-17 21:20:04 +01:00 |
Daniel Marjamäki
|
696550abd3
|
Fixed #2299 (false positive: possible nullpointer dereference)
|
2010-12-17 21:09:12 +01:00 |
Daniel Marjamäki
|
845d1491f9
|
Fixed #2307 (No constructor defined false positive when class is enclosed in namespace)
|
2010-12-17 20:56:46 +01:00 |
Daniel Marjamäki
|
0cebcc8fa9
|
Fixed #2300 (false positive: possible nullpointer dereference)
|
2010-12-16 21:41:50 +01:00 |
Daniel Marjamäki
|
49ee1533d9
|
Fixed #2301 (false positive: The given size 3 is mismatching)
|
2010-12-16 21:27:33 +01:00 |