Messages in this thread |  | | | Date | Wed, 4 Jul 2012 19:59:58 -0700 | | Subject | Re: [Patch] kernel/sys.c: fix an incorrect error branch in orderly_poweroff() | | From | Kees Cook <> |
| |
On Tue, Jul 3, 2012 at 8:31 PM, Cong Wang <amwang@redhat.com> 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>
Good catch!
Acked-by: Kees Cook <keescook@chromium.org>
-- Kees Cook Chrome OS Security
|  |