Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master: cache: don't crash if pod has no status data. #887

Merged
merged 1 commit into from Sep 7, 2022

Conversation

klihub
Copy link
Contributor

@klihub klihub commented Sep 7, 2022

Don't crash during runtime state synchronization if the runtime fails to provide any useful pod status data (cgroup parent dir).
This same fix should protect against potentiallymalicious clients sending RunPodSandbox requests with nil Config or Config.Metadata.

This PR is #886 cherry-picker to master.

Don't crash during runtime state synchronization if
the runtime fails to provide any useful pod status
data (cgroup parent dir).

This same fix should protect against potentially
malicious clients sending RunPodSandbox requests
with nil Config or Config.Metadata.
Copy link
Contributor

@askervin askervin left a comment

Choose a reason for hiding this comment

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

LGTM.

@askervin askervin merged commit d992ea4 into intel:master Sep 7, 2022
@marquiz
Copy link
Contributor

marquiz commented Sep 8, 2022

Shouldn't this be backported to release-0.7 branch, too?

@klihub klihub deleted the fixes/runtime-sync-crash branch September 8, 2022 14:45
@klihub
Copy link
Contributor Author

klihub commented Sep 8, 2022

Shouldn't this be backported to release-0.7 branch, too?

#892

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.

None yet

4 participants