Skip to content
Commit f2531f19 authored by Kees Cook's avatar Kees Cook
Browse files

pstore/ram: Do not use stack VLA for parity workspace



Instead of using a stack VLA for the parity workspace, preallocate a
memory region. The preallocation is done to keep from needing to perform
allocations during crash dump writing, etc. This also fixes a missed
release of librs on free.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent fe1d4758
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment