Skip to content

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

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

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

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
@dmcgowan dmcgowan merged commit 9f8f453 into containerd:release/2.3 May 20, 2026
49 of 54 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review May 20, 2026
@samuelkarp samuelkarp added the area/runtime Runtime label 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