Skip to content

fix: restrict zip decompression

Julian Thome requested to merge julian/limitedreader into main

Description

Restricting the artifact zip files with regards to size and number of files as described in https://gitlab.com/gitlab-org/cli/-/issues/7485.

Related Issues

Resolves https://gitlab.com/gitlab-org/cli/-/issues/7485

How has this been tested?

Generated huge artefacts >5GB. Instead of decompressing them, GitLab CLI presents the following error message:

Extracted zip too large

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Julian Thome

Merge request reports