mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
1dfff7dd67
commit
2a2b0acf76
1 changed files with 22 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue