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

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

      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");
      [...]
      }
      

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

              Created:
              Updated:
              Resolved: