summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorLiu ShuoX2014-03-12 14:24:44 +0100
committerTony Luck2014-03-17 22:14:03 +0100
commit017321cf390045dd4c4afc4a232995ea50bcf66d (patch)
treec7ce8487792ba20f6e07d3320e4985e331fbf921 /arch/mn10300
parentpstore: Correct the max_dump_cnt clearing of ramoops (diff)
downloadkernel-qcow2-linux-017321cf390045dd4c4afc4a232995ea50bcf66d.tar.gz
kernel-qcow2-linux-017321cf390045dd4c4afc4a232995ea50bcf66d.tar.xz
kernel-qcow2-linux-017321cf390045dd4c4afc4a232995ea50bcf66d.zip
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 <shuox.liu@intel.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions