Messages in this thread | | | Date | Tue, 19 Jun 2012 11:41:48 -0700 | Subject | Re: [PATCH 3/7] pstore/ram_core: Proper checking for post_init errors (e.g. improper ECC size) | From | Kees Cook <> |
| |
On Mon, Jun 18, 2012 at 7:15 PM, Anton Vorontsov <anton.vorontsov@linaro.org> wrote: > We will implement variable-sized ECC buffers soon, so post_init routine > might fail much more likely, so we'd better check for its errors. > > To make error handling simple, modify persistent_ram_free() to it be safe > at all times. > > Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
-- Kees Cook Chrome OS Security
| |