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

platform: msm_shared: Check for null pointer in hw_platform #66

Merged
merged 1 commit into from
Apr 4, 2024
Merged

platform: msm_shared: Check for null pointer in hw_platform #66

merged 1 commit into from
Apr 4, 2024

Conversation

kaechele
Copy link

@kaechele kaechele commented Apr 2, 2024

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")

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 <[email protected]>
@M0Rf30 M0Rf30 merged commit e78ec09 into msm8953-mainline:main Apr 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants