Skip to content

[release/1.7] oci: return explicit error for out-of-range USER values#13450

Merged
samuelkarp merged 1 commit into
containerd:release/1.7from
samuelkarp:oci-withuser-errrange-1.7
May 20, 2026
Merged

[release/1.7] oci: return explicit error for out-of-range USER values#13450
samuelkarp merged 1 commit into
containerd:release/1.7from
samuelkarp:oci-withuser-errrange-1.7

Conversation

@samuelkarp

@samuelkarp samuelkarp commented May 20, 2026

Copy link
Copy Markdown
Member
Fix handling of out-of-range USER values in OCI spec to avoid unexpected username/group lookups

Detect strconv.ErrRange and validate uid/gid bounds to avoid falling back to username/group lookups.

Signed-off-by: LEI WANG <ssst0n3@gmail.com>
(cherry picked from commit 85706b6)
Signed-off-by: Chris Henzie <chrishenzie@gmail.com>
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review May 20, 2026
@samuelkarp samuelkarp merged commit 6a05ddd into containerd:release/1.7 May 20, 2026
50 of 52 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants