]> git.karo-electronics.de Git - linux-beck.git/commit
pstore: Fix memory leak when decompress using big_oops_buf
authorLiu ShuoX <shuox.liu@intel.com>
Wed, 12 Mar 2014 13:34:06 +0000 (21:34 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 17 Mar 2014 21:14:03 +0000 (14:14 -0700)
commite32634f5d57f1dce88624b70a6d625915f6ea09e
tree4513a848223494dfc910554f74f7e89b084c9e39
parent017321cf390045dd4c4afc4a232995ea50bcf66d
pstore: Fix memory leak when decompress using big_oops_buf

After sucessful decompressing, the buffer which pointed by 'buf' will be
lost as 'buf' is overwrite by 'big_oops_buf' and will never be freed.

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>
fs/pstore/platform.c