Skip to content

[1.4] libct/specconv: fix panic in initSystemdProps#5161

Merged
cyphar merged 2 commits intoopencontainers:release-1.4from
kolyshkin:1.4-5133
Mar 12, 2026
Merged

[1.4] libct/specconv: fix panic in initSystemdProps#5161
cyphar merged 2 commits intoopencontainers:release-1.4from
kolyshkin:1.4-5133

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

This is a backport of #5133 to release-1.4.


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

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

Reported-by: @lukefr09 (see #5130)

Use t.Run for individual tests. Add missing desc fields.

Best reviewed with --ignore-all-space.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 392a221)
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>
(cherry picked from commit a48a7ce)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin added the backport/1.4-pr A backport PR to release-1.4 label Mar 11, 2026
@kolyshkin kolyshkin added this to the 1.4.1 milestone Mar 12, 2026
@cyphar cyphar merged commit f8040c3 into opencontainers:release-1.4 Mar 12, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.4-pr A backport PR to release-1.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants