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

Selector get_data fixes #9388

Merged
merged 2 commits into from
Aug 26, 2024
Merged

Commits on Aug 22, 2024

  1. selector: add a minimum size check for get_data

    Check to make sure we actually have enough space to copy the config, if
    we don't we will assert and crash when we could have handled this
    gracefully.
    
    Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
    cujomalainey committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1f6f2dd View commit details
    Browse the repository at this point in the history
  2. selector: fix memcpy parameters

    We should be using the trusted max size passed in via the framework
    rather than the scratch memory we are passing into the host.
    
    Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
    cujomalainey committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    4313e8a View commit details
    Browse the repository at this point in the history