Skip to content

libct/specconv: fix panic in initSystemdProps#5133

Merged
lifubang merged 2 commits intoopencontainers:mainfrom
kolyshkin:usec
Feb 27, 2026
Merged

libct/specconv: fix panic in initSystemdProps#5133
lifubang merged 2 commits intoopencontainers:mainfrom
kolyshkin:usec

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

There is a chance of panic here -- eliminate it.

Add a test case (which panics before the fix).

Reported-by: @lukefr09 (see #5130)

@kolyshkin kolyshkin added the backport/1.4-todo A PR in main branch which needs to backported to release-1.4 label Feb 27, 2026
Use t.Run for individual tests. Add missing desc fields.

Best reviewed with --ignore-all-space.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
There is a chance of panic here -- eliminate it.

Add a test case (which panics before the fix).

Reported-by: Luke Hinds <luke@stacklok.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@lifubang lifubang merged commit 4d4e064 into opencontainers:main Feb 27, 2026
42 checks passed
@kolyshkin
Copy link
Copy Markdown
Contributor Author

1.4 backport: #5161

@kolyshkin kolyshkin added backport/1.4-done A PR in main branch which has been backported to release-1.4 and removed backport/1.4-todo A PR in main branch which needs to backported to release-1.4 labels Mar 11, 2026
This was referenced Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.4-done A PR in main branch which has been backported to release-1.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants