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 |
Daniel Marjamäki
|
57056bcf61
|
Fixed #2689 (False positive: Possible null pointer dereference)
|
2011-03-27 21:29:49 +02:00 |
Daniel Marjamäki
|
c87037c29d
|
Fixed #2674 (False positive: possible null pointer dereference (check if pointer is null in one function, dereference it in another function))
|
2011-03-27 11:04:58 +02:00 |
Daniel Marjamäki
|
f26bc6a75c
|
Fixed #2621 (Segmentation fault for GCC statement expression)
|
2011-03-13 10:34:54 +01:00 |
Daniel Marjamäki
|
f3728c0b76
|
Fixed #2647 (False positive: Possible null pointer dereference (member function call))
|
2011-03-12 20:57:19 +01:00 |
Robert Reif
|
6a2848e50f
|
fix another false negative introduced by fix for #2641
|
2011-03-12 12:27:19 -05:00 |
Robert Reif
|
384bd96766
|
fix false negative introduced by fix for #2641
|
2011-03-12 11:42:58 -05:00 |
Daniel Marjamäki
|
0a28b7309f
|
Fixed #2641 (False positive: Possible null pointer dereference (global pointer, function call))
|
2011-03-12 15:02:06 +01:00 |
Daniel Marjamäki
|
a77993db75
|
Refactoring of the CheckNullPointer::isPointer. Use the symbol database. Ticket: #2629
|
2011-03-06 21:23:33 +01:00 |
Daniel Marjamäki
|
7894d86132
|
Null pointers: Fixed false negative for such code: 'if (p && *p) {} else { *p=0; }'. Ticket: #2379
|
2011-02-20 14:38:49 +01:00 |
Daniel Marjamäki
|
5f0206725b
|
Null pointers: Fixed false negative for such code 'if (p && *p==0) {} *p = 0;'. Ticket: #2379
|
2011-02-19 21:28:18 +01:00 |
Daniel Marjamäki
|
29d05cf5f2
|
Null pointers: Fixed false negative for such code: 'abc->a = 0; if (abc && ..'. Ticket: #2379
|
2011-02-19 21:10:31 +01:00 |
Daniel Marjamäki
|
e7ef1b3627
|
Null pointer: fixed false negative when dereferencing struct and then checking if it's null. Ticket: #2379
|
2011-02-19 21:01:38 +01:00 |
Daniel Marjamäki
|
9a760b9654
|
Fixed #2582 (segmentation fault of cppcheck ( if() ))
|
2011-02-18 20:05:44 +01:00 |
Daniel Marjamäki
|
39c68e12ce
|
Fixed #2533 (false positive: (error) Uninitialized variable: cBuffer)
|
2011-02-03 22:29:32 +01:00 |
Raphael Geissert
|
f8e2d50e6f
|
Use Token::simpleMatch where no special patterns are needed
|
2011-02-02 13:27:02 -06:00 |
Raphael Geissert
|
8d5863133c
|
Use Token::simpleMatch where no patterns are used
|
2011-02-02 13:27:01 -06:00 |
Daniel Marjamäki
|
202c8eb4a0
|
Fixed #2525 (False positive 'Possible null pointer dereference')
|
2011-01-31 17:30:27 +01:00 |
Raphael Geissert
|
5137f5fb7f
|
Detect null pointer dereferences for many FILE-related functions
Ticket #1415: check for calling f{eof,read,close,...} with NULL
|
2011-01-30 02:34:58 -06:00 |
Daniel Marjamäki
|
86e6822264
|
Fixed #2493 (false positive: (error) Possible null pointer dereference: pExpr)
|
2011-01-23 08:38:09 +01:00 |
Daniel Marjamäki
|
b5020468f6
|
Fixed #2467 (false positive: possible nullptr dereference)
|
2011-01-17 19:23:00 +01:00 |
Daniel Marjamäki
|
6edf35ebf5
|
Fixed #2463 (false positive: possible nullpointer dereference)
|
2011-01-15 12:09:36 +01:00 |
Daniel Marjamäki
|
9658e2299d
|
Fixed #2443 (Possible null pointer dereference: xxx - otherwise it is redundant to check if xxx is null at line)
|
2011-01-10 19:57:26 +01:00 |
Reijo Tomperi
|
226b605774
|
Change year 2010 -> 2011 in license texts.
|
2011-01-09 21:33:36 +02:00 |
Daniel Marjamäki
|
2848abbf36
|
Fixed #1219 (improve check: null pointer not detected 'if (p) return; *p = 0;')
|
2011-01-09 20:16:16 +01:00 |
Daniel Marjamäki
|
68beffca04
|
Fixed #2437 (false positive: possible null pointer dereference: tok2)
|
2011-01-08 17:16:52 +01:00 |