Home
last modified time | relevance | path

Searched hist:"017321 cf390045dd4c4afc4a232995ea50bcf66d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dram_core.cdiff 017321cf390045dd4c4afc4a232995ea50bcf66d Wed Mar 12 08:24:44 CDT 2014 Liu ShuoX <shuox.liu@intel.com> 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>