lkml.org 
[lkml]   [2011]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/3] trusted-keys: another free memory bugfix
    Date
    Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> wrote:

    > From 94e965700f1e401408836d4aa782105483196842 Mon Sep 17 00:00:00 2001
    > From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    > Date: Mon, 17 Jan 2011 09:22:47 +0900
    > Subject: [PATCH 1/3] trusted-keys: another free memory bugfix
    >
    > TSS_rawhmac() forgot to call va_end()/kfree() when data == NULL and
    > forgot to call va_end() when crypto_shash_update() < 0.
    > Fix these bugs by escaping from the loop using "break"
    > (rather than "return"/"goto") in order to make sure that
    > va_end()/kfree() are always called.
    >
    > Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>

    Acked-by: David Howells <dhowells@redhat.com>


    \
     
     \ /
      Last update: 2011-01-17 10:37    [W:0.020 / U:29.316 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site