Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 87d5e4a8 authored by Huang Yiwei's avatar Huang Yiwei
Browse files

pstore: Add buffer start check during init



The missing check to prz->start can cause crash because it
can be any value and used to locate the write position, so
add the start check to avoid.

Change-Id: If8ed4db8d9dafab656dd5793aed597463fab628d
Signed-off-by: default avatarHuang Yiwei <hyiwei@codeaurora.org>
parent b54ec6fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment