Edoardo Prezioso
|
42e369a4b4
|
Change every 'tokAt(..)->link()' to 'linkAt(..)'.
|
2011-11-20 14:24:27 +01:00 |
Richard Quirk
|
527236b321
|
Fix false positives for delete of known nulls
|
2011-11-13 22:38:34 +01:00 |
Edoardo Prezioso
|
2c64d299ca
|
Change every 'tokAt(...)->str()' to 'strAt(...)'.
|
2011-11-13 13:10:59 +01:00 |
Daniel Marjamäki
|
8bbd535267
|
Fixed #3290 (False positive: Null pointer dereference (typeid))
|
2011-11-11 09:58:17 +01:00 |
Reijo Tomperi
|
7b7e072b88
|
Fix #3278 (FP: Possible null pointer dereference with for loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/3278
Bail out if token "for" is encountered.
|
2011-11-07 22:10:21 +02:00 |
Daniel Marjamäki
|
63937f592e
|
Fixed #3228 (false positive: possible null pointer dereference)
|
2011-10-30 17:59:38 +01:00 |
Richard Quirk
|
a0a5b36667
|
Ensure single-argument constructors are explicit
|
2011-10-29 18:24:30 +02:00 |
Daniel Marjamäki
|
d75ef01d2b
|
Null pointer: Added inconclusive error message when calling member function of NULL object.
|
2011-10-29 15:48:54 +02:00 |
Reijo Tomperi
|
12a10a7297
|
Fix related to previously fixed #3256 (Null pointer dereference not detected)
Use reportInconclusiveError() instead of reportError().
|
2011-10-29 15:55:52 +03:00 |
Reijo Tomperi
|
5e0e2c4782
|
Fix #3256 (Null pointer dereference not detected)
http://sourceforge.net/apps/trac/cppcheck/ticket/3256
It is now detected if --inconclusive command line argument is given (the argument is unofficial currently)
|
2011-10-29 11:35:31 +03:00 |
PKEuS
|
dfedeeb5c1
|
Bugfix: checknullpointer worked incorrect for complex first
|
2011-10-23 15:23:36 +02:00 |
PKEuS
|
54b3d72ee3
|
Added Token::nextArgument()
|
2011-10-23 11:23:48 +02:00 |
Daniel Marjamäki
|
3d18fdfa3f
|
Fixed #3220 (False positive: possible null pointer dereference: 'SwDoc *pDoc = NULL; pDoc->do_something();')
|
2011-10-18 19:34:14 +02:00 |
Daniel Marjamäki
|
d5883ef0c4
|
astyle formatting
|
2011-10-16 07:50:34 +02:00 |
PKEuS
|
71a1d98693
|
Fixed ##3211 (Crash in gitHEAD when arglist count is smaller than format string)
|
2011-10-16 07:06:18 +02:00 |
Daniel Marjamäki
|
6f8e42a5af
|
changed the astyle formatting flags
|
2011-10-13 20:53:06 +02:00 |
PKEuS
|
91d7621994
|
Fixed #3180 (New check: Detect nullpointers given to printf via variable argument list)
|
2011-10-12 22:11:27 +02:00 |
Daniel Marjamäki
|
175503ef94
|
Null pointer: improved inconclusive checking in CheckNullPointer::nullPointerAfterLoop
|
2011-10-09 15:09:02 +02:00 |
Daniel Marjamäki
|
0b09732881
|
Null pointers: fixed false negatives when there are '(p && ..'
|
2011-10-08 12:58:10 +02:00 |
Daniel Marjamäki
|
37d4a01dcb
|
Added todo comments to fix false negatives caused by my fix for #3128
|
2011-10-08 07:39:20 +02:00 |
Daniel Marjamäki
|
e2ec5a127f
|
Fixed #3128 (False positive: null pointer dereference check does not handle complex boolean logic properly)
|
2011-10-07 21:08:21 +02:00 |
Daniel Marjamäki
|
480c403511
|
Fixed #3125 (FP: Possible null pointer dereference in conditional operator)
|
2011-10-02 19:27:18 +02:00 |
Daniel Marjamäki
|
b2d0e48a31
|
Fixed #3126 (false positive: Null pointer dereference)
|
2011-10-02 18:24:45 +02:00 |
Daniel Marjamäki
|
2601733ff7
|
Uninitialized vars: handle printf a little better. Ticket: #3050
|
2011-09-05 20:18:58 +02:00 |
Daniel Marjamäki
|
d098ed6031
|
Fixed #3065 (False positive: possible null pointer dereference: vi)
|
2011-09-03 19:43:27 +02:00 |
Daniel Marjamäki
|
27b29e5b8e
|
Fixed #3023 (False positive: no possible null pointer dereference here: 'WARN_ON(!abc || abc->x == 0);')
|
2011-08-20 09:47:55 +02:00 |
Robert Reif
|
da9bf37918
|
refactor CheckNullPointer::nullPointerByDeRefAndChec() to pull variable type lookup out of loop
|
2011-08-14 10:53:09 -04:00 |
Daniel Marjamäki
|
a6a966e28e
|
Null pointer: Fixed false positive when condition contains assignment 'if (p==NULL && (p=malloc(10))!=NULL) *p=0;'
|
2011-08-07 17:06:25 +02:00 |
Daniel Marjamäki
|
08f27564fa
|
Null pointer: reduce false negatives in pointerDerefAndCheck
|
2011-08-02 17:04:07 +02:00 |
Daniel Marjamäki
|
825dce5c4e
|
Fixed #2954 (False negative: Null pointer dereference not detected '*p=4; if (p) { }')
|
2011-08-02 11:20:09 +02:00 |
Daniel Marjamäki
|
0c2f2e1c38
|
Null pointers: Fixed false negative when struct is dereferenced in condition
|
2011-08-01 21:57:23 +02:00 |
Daniel Marjamäki
|
a6c7ae8d51
|
Fixed #2789 (null pointer: problems not detected when pointer is assigned and checked if it's null in a if statement)
|
2011-08-01 07:51:32 +02:00 |
Daniel Marjamäki
|
1640f3d1ca
|
Null pointer: fix false negatives when unknown function is called and pointer is local/argument
|
2011-07-31 17:32:25 +02:00 |
Daniel Marjamäki
|
cc89687e8c
|
Null pointer: better handling when calling standard functions with possible null pointer
|
2011-07-31 17:19:23 +02:00 |
Daniel Marjamäki
|
dd6982a616
|
Fixed #2935 (possible null pointer dereference when using strcpy etc)
|
2011-07-31 14:07:35 +02:00 |
Daniel Marjamäki
|
7f193fb7a1
|
Fixed #2788 (null pointer: dereference and then check 'if (abc->a == 3) { } if (!abc) ..')
|
2011-07-30 19:51:06 +02:00 |
Daniel Marjamäki
|
a6740200cf
|
Null pointer: Added check for 'if (fred); return fred->a;'
|
2011-07-25 21:58:00 +02:00 |
Daniel Marjamäki
|
6e14da7eba
|
Fixed #2812 (false negative: null pointer dereference when returning struct member)
|
2011-07-25 21:40:32 +02:00 |
Daniel Marjamäki
|
2c6e4c423a
|
Fixed #2681 (False negative: Possible null pointer dereference)
|
2011-07-25 15:45:00 +02: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
|
e4f6d4c987
|
Fixed #2808 (False positive 'Possible null pointer dereference')
|
2011-06-21 18:45:30 +02:00 |
Robert Reif
|
a99aded1a4
|
add support for null pointer checking struct pointers
|
2011-05-27 23:30:19 -04:00 |
Daniel Marjamäki
|
7320bbd8fd
|
Refactoring: Use %op%
|
2011-04-09 18:44:07 +02:00 |
Daniel Marjamäki
|
266d1cc4d3
|
Null pointer: cleanup the code. Ticket: #2642
|
2011-04-03 21:55:21 +02:00 |
Martin Exner
|
bc3507118d
|
Fixed #2696 (False positive nullpointer)
|
2011-04-03 21:06:42 +02:00 |
Stefan Weil
|
675e63b6a7
|
Spell checks
|
2011-03-30 16:45:31 +02:00 |
Daniel Marjamäki
|
0a2f11c2cd
|
Fixed #2695 (False positive: null pointer dereference and ternary operator (?:))
|
2011-03-29 18:45:32 +02:00 |
Daniel Marjamäki
|
a1dba61cee
|
Null pointer: prefer longer error message that says 'otherwise condition at line X is redundant'
|
2011-03-28 18:48:27 +02:00 |
Daniel Marjamäki
|
7426bd3daf
|
Null pointer: prefer longer error message that says 'otherwise condition at line X is redundant'
|
2011-03-28 18:44:25 +02:00 |
Daniel Marjamäki
|
4a7b60942b
|
Fixed #2691 (False positive: struct dereference and check (switch-break))
|
2011-03-28 17:28:21 +02:00 |