lkml.org 
[lkml]   [2012]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Patch] kernel/sys.c: fix an incorrect error branch in orderly_poweroff()
    On Wed, Jul 04, 2012 at 11:31:47AM +0800, Cong Wang wrote:
    > From: WANG Cong <xiyou.wangcong@gmail.com>
    >
    > When argv_split() fails, argv is NULL, thus we should avoid calling
    > agrv_free(argv), and should jump after it.
    >
    > Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    > Cc: Kees Cook <keescook@chromium.org>
    > Cc: Serge Hallyn <serge.hallyn@canonical.com>
    > Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    > Cc: Andrew Morton <akpm@linux-foundation.org>
    > Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
    > ---
    Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>

    Thanks!


    \
     
     \ /
      Last update: 2012-07-04 09:21    [W:0.024 / U:0.908 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site