Robert Reif
|
272eb445fb
|
fix #2865 (segmentation fault of cppcheck ( char a[1] ))
|
2011-06-27 07:31:10 -04:00 |
Robert Reif
|
1713eeb532
|
fix #2859 (Extra qualification not detected)
|
2011-06-26 21:13:29 -04:00 |
Reijo Tomperi
|
918b4d859f
|
Fixed #2860, False positive: Returning value of strncat() reported as memory leak
http://sourceforge.net/apps/trac/cppcheck/ticket/2860
|
2011-06-26 23:53:16 +03:00 |
Reijo Tomperi
|
382520ee9f
|
Fix #2840, False positive: Null pointer dereference
http://sourceforge.net/apps/trac/cppcheck/ticket/2840
|
2011-06-26 22:46:33 +03:00 |
Robert Reif
|
93495613dd
|
replace some pattern matching with variable lookup in checkGlobalAndLocalVariable
|
2011-06-24 08:02:41 -04:00 |
Robert Reif
|
4656eba34c
|
set symbol database array variable dimensions specified by a variable to the maximum size that variable can hold
|
2011-06-23 22:35:15 -04:00 |
Robert Reif
|
65ecbfd4ff
|
fix an off by 1 error introduced in 48e6ea271a that prevented checking all variables
|
2011-06-23 22:31:16 -04:00 |
Daniel Marjamäki
|
40a14736b7
|
Added TODO test case for the simplifyKnownVariables to better simplify local variables
|
2011-06-23 17:03:14 +02:00 |
Daniel Marjamäki
|
2d1b7285d2
|
Fixed #2815 (FP: Null pointer dereference error about a member)
|
2011-06-23 16:58:01 +02:00 |
Robert Reif
|
a87fb388e3
|
use symbol database to lookup variable type for buffer overrun checks
|
2011-06-22 23:11:17 -04:00 |
Robert Reif
|
48e6ea271a
|
start using symbol database array info for buffer overrun checks
|
2011-06-22 22:44:11 -04:00 |
Robert Reif
|
0c46f44e3d
|
add array information to symbol database
|
2011-06-22 22:41:11 -04:00 |
Robert Reif
|
dac826d0ac
|
use a more conventional technique for accessing ArrayInfo private variables
|
2011-06-22 20:35:58 -04:00 |
Reijo Tomperi
|
5a72bed064
|
Fix #2847, cppcheck hangs with 100% cpu load
http://sourceforge.net/apps/trac/cppcheck/ticket/2847
|
2011-06-22 14:09:42 +03:00 |
Daniel Marjamäki
|
e4f6d4c987
|
Fixed #2808 (False positive 'Possible null pointer dereference')
|
2011-06-21 18:45:30 +02:00 |
Robert Reif
|
db39f4364e
|
fix #2845 (segmentation fault of cppcheck)
|
2011-06-21 07:31:55 -04:00 |
seb777
|
172903cde4
|
fix 2846 (false positive for auto_ptr check with container element)
|
2011-06-20 23:02:05 +02:00 |
Daniel Marjamäki
|
47a15b6486
|
Fixed #2830 (false positive: resource leak when using fdopen)
|
2011-06-20 18:42:13 +02:00 |
Robert Reif
|
d80a55267c
|
fix #2844 fix to generate correct output
|
2011-06-19 20:19:16 -04:00 |
Robert Reif
|
0bd26a73c4
|
fix #2844 (typedef causes 'syntax error')
|
2011-06-19 17:57:01 -04:00 |
seb777
|
20de3f90ef
|
fix 2838 (Token::Match called with varid 0 on auto_ptr check) cleanup code and better check varid
|
2011-06-17 21:09:27 +02:00 |
seb777
|
5b940c0c7f
|
fix #747 and #748 (incorrect use of auto_ptr - new check)
|
2011-06-16 20:26:00 +02:00 |
Robert Reif
|
eaf836b323
|
fix extra qualification check for same class name in different namespaces
|
2011-06-14 15:31:52 -04:00 |
Lauri Nurmi
|
be57aa5ad5
|
Fixed #2836 ([PATCH] FP: Dereferenced iterator has been erased)
|
2011-06-14 07:26:59 +02:00 |
Daniel Marjamäki
|
a8cb7b445f
|
1.49: updated version
|
2011-06-12 18:24:31 +02:00 |
Robert Reif
|
e584b08066
|
fix #2835 (crash of cppcheck ( ><,f<i, ))
|
2011-06-12 12:09:52 -04:00 |
Robert Reif
|
729ee72a5a
|
fix #2831 (crash of cppcheck ( z<y<x> ))
|
2011-06-12 08:38:15 -04:00 |
Robert Reif
|
d1b260699a
|
fix #2834 (crash of cppcheck (std::vector<int>::iterator))
|
2011-06-12 08:24:49 -04:00 |
Robert Reif
|
5e3263235b
|
fix #2739 (segmentation fault of cppcheck ( if()x ))
|
2011-06-11 15:51:12 -04:00 |
Robert Reif
|
3d4eb0d77e
|
fix #2682 (segmentation fault of cppcheck ( x a[0] = ))
|
2011-06-10 15:11:45 -04:00 |
Robert Reif
|
a9e2e15e40
|
improve #2828 fix by adding switch
|
2011-06-09 07:32:43 -04:00 |
Robert Reif
|
6635ed4630
|
fix #2828 (false positive: Function parameter 'STYLE' hides enumerator with same name)
|
2011-06-08 20:14:52 -04:00 |
Daniel Marjamäki
|
97d47fa20e
|
Fixed #2805 (false positive: [NotAssigned1.cpp:5]: (style) Variable 'y' is not assigned a value)
|
2011-06-08 19:54:01 +02:00 |
Robert Reif
|
0f6da27b9f
|
fix #2795 (hash operator[] is not 'const') (original patch by Sebastien Debrard) (modified to use the symbol database)
|
2011-06-03 22:00:27 -04:00 |
Robert Reif
|
a7fe9a3b50
|
fix 2 use after frees in simplifyEnum found by visual studio and verified by valgrind
|
2011-06-03 21:50:08 -04:00 |
Daniel Marjamäki
|
1b4b4ee43e
|
Fixed #2806 (False positive with g_strstrip())
|
2011-05-29 17:44:10 +02:00 |
seb777
|
e06b2419a4
|
fix #2786 (new check: Using sizeof with numeric constant)
Add unit test and improve check with negative constant because in cppcheck %num%
means 'integer'
|
2011-05-28 16:40:01 +08:00 |
Robert Reif
|
a99aded1a4
|
add support for null pointer checking struct pointers
|
2011-05-27 23:30:19 -04:00 |
Robert Reif
|
311651cc66
|
fix #2804 (Underlying type of enumerator produces a syntax error)
|
2011-05-27 11:17:39 -04:00 |
Robert Reif
|
42316f3e0b
|
fix #2792 (false positive: Member variable 'class::m_val' is not assigned a value in 'class::operator=')
|
2011-05-24 20:25:34 -04:00 |
seb777
|
287840e6bc
|
fix #2786
|
2011-05-25 01:45:58 +08:00 |
Daniel Marjamäki
|
1c841535ee
|
Fixed #2798 (False positive: Invalid iterator check doesn't respect code paths)
|
2011-05-22 17:17:24 +02:00 |
Daniel Marjamäki
|
52499ca8f8
|
Fixed #2790 (Incorrect allocation mismatch error)
|
2011-05-19 19:41:18 +02:00 |
Stefan Weil
|
21a2a91b3c
|
executionpath: fix memory leak
|
2011-05-19 19:31:51 +02:00 |
Daniel Marjamäki
|
c971fa0d4b
|
cmake: cleanup unmaintained cmake files
|
2011-05-19 17:16:04 +02:00 |
Daniel Marjamäki
|
ab1b293f23
|
Fixed #2737 ((error) Analysis failed. If the code is valid then please report this failure.)
|
2011-05-19 17:04:36 +02:00 |
WenChung Chiu
|
1ea52cfa02
|
Fixed #2784 (Pointer issue: *&f=open())
|
2011-05-18 07:25:30 +02:00 |
Daniel Marjamäki
|
b6dcdd7b79
|
Preprocessor: Don't report that there are missing system includes unless --debug-warnings has been given.
|
2011-05-15 09:38:13 +02:00 |
Daniel Marjamäki
|
be9e66efff
|
Fixed #2782 (Segfault with #asm)
|
2011-05-11 19:27:19 +02:00 |
Daniel Marjamäki
|
144d811e54
|
Fixed #2780 (false positive: variable p is not assigned a value 'int p[2]; *p = 0;')
|
2011-05-11 18:58:25 +02:00 |