Daniel Marjamäki
|
e597ad72e7
|
Fixed #2841 (False positive: Array index out of bounds, can't compare ints to chars)
|
2011-06-29 18:44:05 +02:00 |
Robert Reif
|
6eecab5d73
|
fix #2807 (Wrong handling of function references when prefixed with &)
|
2011-06-29 07:19:34 -04:00 |
Robert Reif
|
f403de7bad
|
partial fix for #2867 Tokenizer::removeRedundantAssignment didn't understand function local class and removed class variable
|
2011-06-28 19:48:28 -04:00 |
Robert Reif
|
70a32fc245
|
fix #2875 (segmentation fault of cppcheck ( 0; (a) < (a) ))
|
2011-06-28 18:47:18 -04:00 |
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 |
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 |
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
|
f1782799cb
|
run astyle
|
2011-06-20 23:06:18 +02: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 |
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
|
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
|
e9bc72b4f2
|
todo tests for #2812 (false negative: null pointer dereference when returning struct member)
|
2011-06-03 22:16:08 -04: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 |
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 |
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
|
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 |
Daniel Marjamäki
|
1c992fe25a
|
Fixed #2783 (Improve check: struct member leaks when analysing c file)
|
2011-05-11 18:19:14 +02:00 |
Robert Reif
|
2db67863a7
|
#2700 (common logic or cut and paste errors) make duplicate branches inclnclusive
|
2011-05-08 13:22:42 -04:00 |
Daniel Marjamäki
|
8e5c63104c
|
Fixed #2743 (segmentation fault of cppcheck 'std::vector<void(*)()> v1 = a, v2 = b;')
|
2011-05-07 14:23:14 +02:00 |
Daniel Marjamäki
|
af7c97f972
|
Fixed #1684 (false positive: buffer access out of bounds when using extern variable declaration)
|
2011-05-07 11:34:48 +02:00 |
Robert Reif
|
bb5dfa58a1
|
fix #2765 (Non local address detected as address of local auto-variable)
|
2011-05-06 19:26:04 -04:00 |
Robert Reif
|
ccb831d375
|
fix regression #1819 (False positive: auto variable assignment (unseen typedef))
|
2011-05-06 18:18:48 -04:00 |
Daniel Marjamäki
|
3629f953f0
|
Fixed #2770 (False positives (scope can be reduced / variable is assigned value that is never used))
|
2011-05-06 21:16:01 +02:00 |