original_kernel/fs/pstore
Kees Cook 5631e8576a pstore/ram: Avoid allocation and leak of platform data
Yue Hu noticed that when parsing device tree the allocated platform data
was never freed. Since it's not used beyond the function scope, this
switches to using a stack variable instead.

Reported-by: Yue Hu <huyue2@yulong.com>
Fixes: 35da60941e ("pstore/ram: add Device Tree bindings")
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
2019-01-20 14:44:52 -08:00
..
Kconfig
Makefile
ftrace.c
inode.c
internal.h
platform.c
pmsg.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
ram.c pstore/ram: Avoid allocation and leak of platform data 2019-01-20 14:44:52 -08:00
ram_core.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00