-
Notifications
You must be signed in to change notification settings - Fork 335
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
fix(kuma-cp): guard the nil version in metadata #3969
Conversation
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
3d4d467
to
87ad464
Compare
We have pentest coming soon these are the kind of bugs we'll find! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for backporting
Shouldn't the http endpoint catch panics btw? |
Codecov Report
@@ Coverage Diff @@
## master #3969 +/- ##
==========================================
+ Coverage 56.02% 56.03% +0.01%
==========================================
Files 917 917
Lines 54770 54771 +1
==========================================
+ Hits 30684 30691 +7
+ Misses 21640 21633 -7
- Partials 2446 2447 +1
Continue to review full report at Codecov.
|
Good question. It seems that the regular But grpc code is different. Maybe we can also recover there somehow edit: there is a way https://github.com/grpc-ecosystem/go-grpc-middleware let me do this in the follow up PR |
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com> (cherry picked from commit 7f5ae2b)
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com> Signed-off-by: Sally Blich <sally.blich@walkme.com>
Summary
Guard the nil version.dependencies.
I went through code a couple of times and it seems that the only place where we can get a nil panic.
Issues resolved
Fix #3968
Documentation
No docs.
Testing
Backwards compatibility
- [ ] UpdateUPGRADE.md
with any steps users will need to take when upgrading.backport-to-stable
label if the code follows our backporting policy