Skip to content

vendor: update github.com/cyphar/filepath-securejoin to v0.3.3#4421

Merged
lifubang merged 1 commit intoopencontainers:mainfrom
cyphar:filepath-securejoin-0.3.3
Oct 1, 2024
Merged

vendor: update github.com/cyphar/filepath-securejoin to v0.3.3#4421
lifubang merged 1 commit intoopencontainers:mainfrom
cyphar:filepath-securejoin-0.3.3

Conversation

@cyphar
Copy link
Copy Markdown
Member

@cyphar cyphar commented Sep 30, 2024

This fixes issues we had with spurious MkdirAll failures.

Fixes #4408
Signed-off-by: Aleksa Sarai cyphar@cyphar.com

This fixes issues we had with spurious MkdirAll failures.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Copy link
Copy Markdown
Member

@rata rata left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! And thanks for having a changelog for this dep, it helps too :)

I guess you verified if this fixes the issue, right?

@cyphar
Copy link
Copy Markdown
Member Author

cyphar commented Sep 30, 2024

I verified that uid=1234,gid=5678,umask=0 (which is the most extreme example of this problem) doesn't cause errors when using MkdirAll directly.

Copy link
Copy Markdown
Member

@lifubang lifubang left a comment

Choose a reason for hiding this comment

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

LGTM
If there are some test cases for this issue and for "is the created directory empty" logic check, it will be more better, but I think we can add these tests in a new PR. Thanks.

@lifubang lifubang merged commit c611a21 into opencontainers:main Oct 1, 2024
@cyphar cyphar deleted the filepath-securejoin-0.3.3 branch October 1, 2024 10:07
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.

mkdirall regression when default ACL is set

3 participants