commit | a36c016dff2ce6a56bbe1684d032091864de66d7 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Thu Oct 26 22:28:11 2023 +0000 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Oct 30 09:23:23 2023 -0400 |
tree | e963badbe7c8fd7fb782db6df76f101fe2885904 | |
parent | 471cff50e857c77273b2ea3fcc7dda9599135915 [diff] |
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 <flavio.ceolin@intel.com>