Messages in this thread | | | Date | Tue, 3 Jul 2012 23:44:59 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [Patch] kernel/sys.c: fix an incorrect error branch in orderly_poweroff() |
| |
On Wed, 4 Jul 2012, 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: David Rientjes <rientjes@google.com>
| |