Skip to content

Conversation

@kolyshkin
Copy link
Contributor

According to OCI spec, mount destination MUST be an absolute path. We never validate it, I think we should.

Add validation to both specconv and configs/validate, and error out on non-abs paths.

Per OCI runtime spec, mount destination MUST be absolute. Let's check
that and return an error if not.

Signed-off-by: Kir Kolyshkin <[email protected]>
Add a check that mount destination is absolute (as per OCI spec).

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Member

@cyphar cyphar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

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.

3 participants