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

    XMLWordPrintable

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

            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: