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

pkg/columns: add safety mechanism for dynamically added columns #2557

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

flyth
Copy link
Member

@flyth flyth commented Feb 29, 2024

This prevents panics if getStart() returns a nil pointer. While this should not happen under normal circumstances, this adds another safety mechanism for handling untrusted data coming from image based gadgets.

Part of #2512

This prevents panics if `getStart()` returns a nil pointer.

Signed-off-by: Michael Friese <mfriese@microsoft.com>
@flyth flyth mentioned this pull request Feb 29, 2024
7 tasks
@flyth flyth merged commit a0953cf into main Mar 1, 2024
59 checks passed
@flyth flyth deleted the michael/refactoring-helpers-6 branch March 1, 2024 07:59
@flyth
Copy link
Member Author

flyth commented Mar 1, 2024

Thanks for the review!

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

2 participants