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

kernel: mmu: Fix possible null de-reference #64469

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Commits on Oct 26, 2023

  1. kernel: mmu: Fix possible null de-reference

    virt_page_phys_get can be called with phy parameter NULL when
    the intention is just checking if a virtual address is mapped.
    
    This function is generally overwritten by a an arch API that checks if
    phys is null before using it but this default implementation doesn't.
    
    Signed-off-by: Flavio Ceolin <[email protected]>
    Flavio Ceolin committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    12bd7ef View commit details
    Browse the repository at this point in the history