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

Suspicious dereference of pointer before NULL check in mdt_lock_objects_in_linkea()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.9.0
    • 3
    • 9223372036854775807

    Description

      Suspicious dereference of pointer 'ldata.ld_leh' before NULL check at line 1393

      • An event which alters the program's state, leading to the defect
        mdt_reint.c:1390: 'ldata.ld_leh' is dereferenced.
      • An event which alters the program's state, leading to the defect
        mdt_reint.c:1393: 'ldata.ld_leh' is checked for NULL.
      1389			/* ignore the migrating parent(@pobj) */
      1390			retry_count = ldata.ld_leh->leh_reccount - 1;
      1391		 
      1392		again:
      1393			LASSERT(ldata.ld_leh != NULL);
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            dmiter Dmitry Eremin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: