remarkable-linux/fs/pstore
Liu ShuoX aa9a4a1edf pstore: skip zero size persistent ram buffer in traverse
In ramoops_pstore_read, a valid prz pointer with zero size buffer will
break traverse of all persistent ram buffers.  The latter buffer might be
lost.

Signed-off-by: Liu ShuoX <shuox.liu@intel.com>
Cc: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Cc: Colin Cross <ccross@android.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2014-03-17 14:14:03 -07:00
..
ftrace.c pstore: Add hsize argument in write_buf call of pstore_ftrace_call 2013-07-02 18:39:37 +10:00
inode.c pstore: Add file extension to pstore file if compressed 2013-08-19 11:53:27 -07:00
internal.h pstore: Add file extension to pstore file if compressed 2013-08-19 11:53:27 -07:00
Kconfig pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected 2013-08-19 10:18:10 -07:00
Makefile pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
platform.c pstore: Don't allow high traffic options on fragile devices 2013-12-20 13:12:01 -08:00
ram.c pstore: skip zero size persistent ram buffer in traverse 2014-03-17 14:14:03 -07:00
ram_core.c pstore/ram: avoid atomic accesses for ioremapped regions 2013-06-14 15:54:21 -07:00