Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7950

Suspicious dereference of pointer before NULL check in lwp_device_fini()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

    Description

      Suspicious dereference of pointer 'm->lpd_obd' before NULL check at line 377

      • An event which alters the program's state, leading to the defect
        lwp_dev.c:375: 'm->lpd_obd' is dereferenced.
      • An event which alters the program's state, leading to the defect
        lwp_dev.c:377: 'm->lpd_obd' is checked for NULL.
      375			imp = m->lpd_obd->u.cli.cl_import;
      376		 
      377			LASSERT(m->lpd_obd);
      

      Attachments

        Issue Links

          Activity

            People

              dmiter Dmitry Eremin (Inactive)
              dmiter Dmitry Eremin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: