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

CoverityID 425351:  Null pointer dereferences  (NULL_RETURNS) in /lustre/utils/liblustreapi_layout.c: 2445 in llapi_layout_file_comp_add()

    XMLWordPrintable

Details

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

    Description

      > *** CID 425351:  Null pointer dereferences  (NULL_RETURNS)
      > /lustre/utils/liblustreapi_layout.c: 2445 in llapi_layout_file_comp_add()
      > 2439             rc = -1;
      > 2440             goto out;
      > 2441         }
      > 2442     
      > 2443         comp = __llapi_layout_cur_comp(layout);
      > 2444     
      >>>>    CID 425351:  Null pointer dereferences  (NULL_RETURNS)
      >>>>    Dereferencing "comp", which is known to be "NULL".
      > 2445         if (comp->llc_pool_name[0] != '\0' &&
      > 2446             !lov_pool_is_ignored(comp->llc_pool_name)) {
      > 2447             rc = llapi_search_fsname(path, fsname);
      > 2448             if (rc) {
      > 2449                 tmp_errno = -rc;
      > 2450                 rc = -1;
      > 

      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: