commit | 2a2b0acf768cfb2a9cf6c3b42b0e0eb25cbb5814 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Sat Mar 04 22:57:26 2017 -0800 |
committer | Kees Cook <keescook@chromium.org> | Tue Mar 07 14:00:58 2017 -0800 |
tree | 7dedc0d9e48c55ab0a780cece74328cc6905fe1d | |
parent | 1dfff7dd67d1a3be4d0ab4a5313f0363966bc70d [diff] |
pstore: Allocate records on heap instead of stack In preparation for handling records off to pstore_mkfile(), allocate the record instead of reusing stack. This still always frees the record, though, since pstore_mkfile() isn't yet keeping it. Signed-off-by: Kees Cook <keescook@chromium.org>