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

CoverityID 425352:  Null pointer dereferences  (NULL_RETURNS) in /lustre/utils/liblustreapi_layout.c: 1790 in llapi_layout_file_open()

    XMLWordPrintable

Details

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

    Description

      > *** CID 425352:  Null pointer dereferences  (NULL_RETURNS)
      > /lustre/utils/liblustreapi_layout.c: 1790 in llapi_layout_file_open()
      > 1784             errno = EINVAL;
      > 1785             return -1;
      > 1786         }
      > 1787     
      > 1788         if (layout) {
      > 1789             /* Make sure we are on a Lustre file system */
      >>>>    CID 425352:  Null pointer dereferences  (NULL_RETURNS)
      >>>>    Dereferencing "comp", which is known to be "NULL".
      > 1790             if (comp->llc_pool_name[0] != '\0' &&
      > 1791                 !lov_pool_is_ignored(comp->llc_pool_name)) {
      > 1792                 rc = llapi_search_fsname(path, fsname);
      > 1793                 if (rc) {
      > 1794                     errno = ENOTTY;
      > 1795                     return -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: