Skip to content

Add encoding to os version and features#28

Merged
samuelkarp merged 1 commit intocontainerd:mainfrom
dmcgowan:encode-os-version
Mar 19, 2026
Merged

Add encoding to os version and features#28
samuelkarp merged 1 commit intocontainerd:mainfrom
dmcgowan:encode-os-version

Conversation

@dmcgowan
Copy link
Member

Prevent os version or features containing characters which are used for formatting from creating invalid output. The character set to be encoded is small and likely rarely used, but include to prevent compatibility issues in the future or creating unintended limits on the values.

I want to get this in before the next rc. With this encoding added, there should be no more concerns over this package defining limits on the values or need to debate on compatibility with OCI spec.

Prevent os version or features containing characters which are used for
formatting from creating invalid output. The character set to be encoded
is small and likely rarely used, but include to prevent compatibility issues
in the future or creating unintended limits on the values.

Signed-off-by: Derek McGowan <derek@mcg.dev>
Copy link
Member

@hsiangkao hsiangkao left a comment

Choose a reason for hiding this comment

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

LGTM

@samuelkarp samuelkarp merged commit e543b9f into containerd:main Mar 19, 2026
7 checks passed
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