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

Buffer overflow of 'buffer' due to non null terminated string 'buffer' in llapi_search_tgt

Details

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

    Description

      int llapi_search_tgt(char *fsname, char *poolname, char *tgtname, bool is_mdt)
      {
      [...]
      556					strncpy(buffer, param.gl_pathv[0],
      557						sizeof(buffer));
      [...]
      566			fd = fopen(buffer, "r");
      [...]
      }
      

      Attachments

        Issue Links

          Activity

            [LU-10500] Buffer overflow of 'buffer' due to non null terminated string 'buffer' in llapi_search_tgt
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-11264 [ LU-11264 ]
            adilger Andreas Dilger made changes -
            Resolution New: Not a Bug [ 6 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Affects Version/s New: Lustre 2.11.0 [ 13091 ]
            dmiter Dmitry Eremin (Inactive) created issue -

            People

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

              Dates

                Created:
                Updated:
                Resolved: