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

CoverityID 425353:  Null pointer dereferences  (FORWARD_NULL) in /lustre/llite/namei.c: 1766 in ll_new_node()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

       

      > *** CID 425353:  Null pointer dereferences  (FORWARD_NULL)
      > /lustre/llite/namei.c: 1766 in ll_new_node()
      > 1760                 RETURN(-EINVAL);
      > 1761             data = disk_link->name;
      > 1762             datalen = disk_link->len;
      > 1763         }
      > 1764     
      > 1765     again:
      >>>>    CID 425353:  Null pointer dereferences  (FORWARD_NULL)
      >>>>    Passing null pointer "disk_link" to "ll_new_node_prepare", which dereferences it.
      > 1766         err = ll_new_node_prepare(dir, dchild, mode, opc, &encrypt, tgt,
      > 1767                       &op_data, &lum, &data, &datalen, disk_link);
      > 1768         if (err)
      > 1769             GOTO(err_exit, err);
      > 1770     
      > 1771         err = md_create(sbi->ll_md_exp, op_data, data, datalen, mode,
      > 

      Attachments

        Activity

          People

            wc-triage WC Triage
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: