Home
last modified time | relevance | path

Searched hist:"7 e8cc8dce17574e432945fa75882cd401c3ef673" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dplatform.cdiff 7e8cc8dce17574e432945fa75882cd401c3ef673 Sun Mar 05 00:28:46 CST 2017 Kees Cook <keescook@chromium.org> pstore: Always allocate buffer for decompression

Currently, pstore_mkfile() performs a memcpy() of the record contents,
so it can live anywhere. However, this is needlessly wasteful. In
preparation of pstore_mkfile() keeping the record contents, always
allocate a buffer for the contents.

Signed-off-by: Kees Cook <keescook@chromium.org>