[LU-7950] Suspicious dereference of pointer before NULL check in lwp_device_fini() Created: 29/Mar/16 Updated: 13/Sep/16 Resolved: 13/Sep/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Dmitry Eremin (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | kw, patch | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Suspicious dereference of pointer 'm->lpd_obd' before NULL check at line 377
375 imp = m->lpd_obd->u.cli.cl_import; 376 377 LASSERT(m->lpd_obd); |
| Comments |
| Comment by Dmitry Eremin (Inactive) [ 29/Mar/16 ] |
|
the same in osp_device_fini(): |
| Comment by Gerrit Updater [ 28/Jun/16 ] |
|
Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: http://review.whamcloud.com/21024 |
| Comment by Peter Jones [ 28/Jun/16 ] |
|
Dmitry Could you please review this patch when you are back in the office? Thanks Peter |
| Comment by Gerrit Updater [ 29/Jun/16 ] |
|
Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: http://review.whamcloud.com/21066 |
| Comment by Gerrit Updater [ 13/Sep/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21024/ |
| Comment by Peter Jones [ 13/Sep/16 ] |
|
Landed for 2.9 |