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:
Huang Yiwei <hyiwei@codeaurora.org>
Loading
Please register or sign in to comment