Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55050

Performance improvement for large archive symlink outside of workspace

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Jenkins 2.164

      When an archive contain a symlink that is leading outside of the workspace, the current implementation check if the linked folder and every descendants in that folder are inside the workspace, causing some performance troubles if there are really numerous. Those checks are performed when we want to download the zip containing the specific symlink.

      This case is mostly encountered when an undesired symlink is created.

          [JENKINS-55050] Performance improvement for large archive symlink outside of workspace

          Wadeck Follonier created issue -
          Wadeck Follonier made changes -
          Description Original: When an archive contain a symlink that is leading outside of the workspace, the current implementation check if the linked folder and *every* descendants in that folder are inside the workspace, causing some performance troubles if there are really numerous.

          This case is mostly encountered when an undesired symlink is created.
          New: When an archive contain a symlink that is leading outside of the workspace, the current implementation check if the linked folder and *every* descendants in that folder are inside the workspace, causing some performance troubles if there are really numerous. Those checks are performed when we want to download the zip containing the specific symlink.

          This case is mostly encountered when an undesired symlink is created.
          Wadeck Follonier made changes -
          Attachment New: generate_structure.groovy [ 45388 ]
          Wadeck Follonier made changes -
          Remote Link New: This issue links to "#3848 in core (log level reduction) (Web Link)" [ 22211 ]
          Wadeck Follonier made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Wadeck Follonier made changes -
          Remote Link New: This issue links to "#3861 in core (advanced version) (Web Link)" [ 22302 ]
          Wadeck Follonier made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Link New: This issue relates to SECURITY-904 [ SECURITY-904 ]
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.164
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate

            wfollonier Wadeck Follonier
            wfollonier Wadeck Follonier
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: