-
Notifications
You must be signed in to change notification settings - Fork 1.1k
server: fix a potential NULL-pointer dereference. #5579
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
Conversation
Fix a potential NULL-pointer dereference in logging. A (cri-o) client could crash the daemon by sending a CreateContainer request with a NULL Config. Signed-off-by: Krisztian Litkey <[email protected]>
|
Hi @klihub. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test LGTM, great catch @klihub ! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, klihub The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick release-1.23 |
|
@haircommander: once the present PR merges, I will cherry-pick it on top of release-1.23 in a new PR and assign it to you. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## main #5579 +/- ##
=======================================
Coverage 43.22% 43.22%
=======================================
Files 123 123
Lines 12214 12214
=======================================
Hits 5280 5280
Misses 6426 6426
Partials 508 508 |
|
/retest |
|
/lgtm |
|
/retest |
|
@klihub: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@haircommander: new pull request created: #5580 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fix a potential NULL-pointer dereference in a log message.
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fixes a potential NULL-pointer dereference in a log message that could crash the daemon.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?
None