lkml.org 
[lkml]   [2012]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 2/7] pstore/ram: Fix error handling during przs allocation
    From
    On Mon, Jun 18, 2012 at 7:15 PM, Anton Vorontsov
    <anton.vorontsov@linaro.org> wrote:
    > persistent_ram_new() returns ERR_PTR() value on errors, so during
    > freeing of the przs we should check for both NULL and IS_ERR() entries,
    > otherwise bad things will happen.
    >
    > Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

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

    --
    Kees Cook
    Chrome OS Security


    \
     
     \ /
      Last update: 2012-06-19 21:21    [W:5.622 / U:0.344 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site