ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Lustre 2.8.0
    • Affects Version/s: None
    • None
    • 3
    • 9223372036854775807

      __getname used in ll_getname allocated PATH_MAX sized 4k buffer that is overkill.
      In fact we only need a single component of the pathname that could not be longer than 255 bytes, so only allocating 256 bytes should be enough.
      Additionally need to check for strncpy_from_user negative return values while at that.

            Assignee:
            WC Triage
            Reporter:
            Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: