Skip to content

fix: confine tarball extract and bound glob expansion - #373

Merged
stefanprodan merged 2 commits into
mainfrom
fix-extract
Aug 4, 2026
Merged

fix: confine tarball extract and bound glob expansion#373
stefanprodan merged 2 commits into
mainfrom
fix-extract

Conversation

@stefanprodan

Copy link
Copy Markdown
Member

This PR aligns the tarball extraction with the rest of the copy operations enforcing os.Root. In addition, we limit the from and exclude glob patterns to at most 20 commas inside {} alternation groups.

@stefanprodan stefanprodan added bug Something isn't working area/generator Artifact generation related issues and pull requests backport:release/v2.2.x To be backported to release/v2.2.x labels Aug 4, 2026
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan
stefanprodan merged commit 28a0a00 into main Aug 4, 2026
5 checks passed
@stefanprodan
stefanprodan deleted the fix-extract branch August 4, 2026 12:34
@fluxcdbot

Copy link
Copy Markdown
Member

Successfully created backport PR for release/v2.2.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/generator Artifact generation related issues and pull requests backport:release/v2.2.x To be backported to release/v2.2.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants