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

adaptation: fix a panic for unsolicited updates. #23

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

klihub
Copy link
Member

@klihub klihub commented Jan 30, 2023

Set up adaptation pointer properly during plugin creation/connection acceptance to fix a panic when a plugin sends an unsolicited container update. Also make sure that we get initialized with valid, non-nil function pointers.

@klihub klihub requested a review from fuweid January 30, 2023 22:29
Properly set adaptation pointer during plugin creation to
avoid a panic and crash for unsolicited container updates.
Also make sure during initialization that we get passed a
set of valid, non-nil functions pointers.

Signed-off-by: Krisztian Litkey <[email protected]>
@klihub klihub force-pushed the fixes/unsolicited-update-crash branch from 7d0da7e to 46304d0 Compare January 30, 2023 23:10
@fuweid fuweid merged commit b3cabde into containerd:main Jan 31, 2023
@klihub klihub deleted the fixes/unsolicited-update-crash branch January 31, 2023 07:51
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.

2 participants