Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform: msm_shared: Check for null pointer in hw_platform
Prevents lk2nd from crashing if hw_platform is not out of bounds for the array but undefined. Original CLO commit https://git.codelinaro.org/clo/la/kernel/lk/-/commit/7b1b74235adfb981ece4f5a7d1a8f8edfa65c8e1 Fixes: 511e22a ("smem: Default to unknown platform if hardware id is out of range") Signed-off-by: Felix Kaechele <felix@kaechele.ca>
- Loading branch information