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

hubble: Use protobuf GetType() helper in v1.FlowProtocol() to avoid possible panic #27889

Merged

Commits on Sep 5, 2023

  1. hubble: Use GetType() helper in v1.FlowProtocol() to avoid possible p…

    …anic
    
    If the event type is unset, or the flow is nil, it's possible that
    FlowProtocol could panic. To avoid this, use the GetType() helper method
    which is nil safe.
    
    Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
    chancez committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    06d94b9 View commit details
    Browse the repository at this point in the history