git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f0ec8
)
pstore: Fix buffer overflow while write offset equal to buffer size
author
Liu ShuoX
<shuox.liu@intel.com>
Wed, 12 Mar 2014 13:24:44 +0000
(21:24 +0800)
committer
Tony Luck
<tony.luck@intel.com>
Mon, 17 Mar 2014 21:14:03 +0000
(14:14 -0700)
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 <shuox.liu@intel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
No differences found