Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[merged] lib: Add more filename validations (no ., .. or /) in commit logic #283

Closed

Conversation

cgwalters
Copy link
Member

The filesystem commit code will never give us potentially hostile
filenames, and when importing from archives, we do some validation.

However, we should be extra paranoid and also add error messages in
the mtree in case someone tries to import a hostile
libarchive-supported format.

The filesystem commit code will never give us potentially hostile
filenames, and when importing from archives, we do some validation.

However, we should be extra paranoid and also add error messages in
the mtree in case someone tries to import a hostile
libarchive-supported format.
@jlebon
Copy link
Member

jlebon commented May 6, 2016

@cgwalters-bot r+ 6edb0be

@cgwalters-bot
Copy link

⌛ Testing commit 6edb0be with merge 5a90781...

@cgwalters-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: jlebon
Pushing 5a90781 to master...

@cgwalters-bot cgwalters-bot changed the title lib: Add more filename validations (no ., .. or /) in commit logic [merged] lib: Add more filename validations (no ., .. or /) in commit logic May 6, 2016
rfairley pushed a commit to rfairley/ostree that referenced this pull request Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants