Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pstore: Fix buffer overflow while write offset equal to
buffer size In case new offset is equal to prz->buffer_size, it won't wrap at this time and will return old(overflow) value next time. Signed-off-by: Liu ShuoX <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Pranav Vashi <[email protected]>
- Loading branch information