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
inode.c
internal.h
Kconfig
Makefile
platform.c pstore: Don't allow high traffic options on fragile devices 2013-12-20 13:12:01 -08:00
ram_core.c
ram.c pstore: skip zero size persistent ram buffer in traverse 2014-03-17 14:14:03 -07:00