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

Coverity bug

    XMLWordPrintable

Details

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

    Description

      lustre/utils/liblustreapi_layout.c:
      Line 1790:
      From Coverity:
      CID 425352: Null pointer dereferences (NULL_RETURNS) /lustre/utils/liblustreapi_layout.c: 1790 in llapi_layout_file_open()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' &&
      Line 2444:
      From Coverity:
      CID 425351: Null pointer dereferences (NULL_RETURNS) /lustre/utils/liblustreapi_layout.c: 2445 in llapi_layout_file_comp_add() 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' &&

      Attachments

        Issue Links

          Activity

            People

              rajeevm Rajeev Mishra
              rajeevm Rajeev Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: