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

fix panic when HelmRepository's artifact size is nil #683

Merged
merged 1 commit into from
Apr 22, 2022
Merged

Conversation

makkes
Copy link
Member

@makkes makkes commented Apr 22, 2022

This fixes the immediate issue of the nil pointer dereference but we
still haven't isolated the actual cause of the size being nil to begin
with. This is ongoing work and as soon as we have boiled that down to
the simplest case we will provide a regression test for that case.

closes #680

@makkes makkes self-assigned this Apr 22, 2022
@makkes makkes requested a review from hiddeco April 22, 2022 08:18
@makkes makkes requested a review from hiddeco April 22, 2022 08:24
@hiddeco hiddeco added bug Something isn't working area/helm Helm related issues and pull requests labels Apr 22, 2022
This fixes the immediate issue of the nil pointer dereference but we
still haven't isolated the actual cause of the size being nil to begin
with. This is ongoing work and as soon as we have boiled that down to
the simplest case we will provide a regression test for that case.

closes #680

Signed-off-by: Max Jonas Werner <mail@makk.es>
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks for the quick fix @makkes, and for your debugging efforts @cwyl02 🙇🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

SC panics with nil pointer dereference
3 participants