Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244602

Re: powerpc/pseries/hvcserver: don't memset pi_buff if it is null

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: powerpc/pseries/hvcserver: don't memset pi_buff if it is null
Date Mon, 12 Oct 2015 13:30:02 +0200
Message-ID <qiJsK-5Ti-13@gated-at.bofh.it> (permalink)
References <qhoJH-41D-11@gated-at.bofh.it>
X-Original-To Colin King <colin.king@canonical.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, linuxppc-dev@lists.ozlabs.org
X-Powerpc-Patch-Notification thanks
X-Powerpc-Patch-Commit c13e1c05b22b504bf0d72fc762a02be37df2d1b0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org
X-Original-Date Mon, 12 Oct 2015 22:21:21 +1100 (AEDT)
X-Original-Message-ID <20151012112121.8623F14029E@ozlabs.org>
X-Original-References <1444330858-5508-1-git-send-email-colin.king@canonical.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1244602

Show key headers only | View raw


On Thu, 2015-08-10 at 19:00:58 UTC, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> pi_buff is being memset before it is sanity checked. Move the
> memset after the null pi_buff sanity check to avoid an oops.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c13e1c05b22b504bf0d72fc7

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] powerpc/pseries/hvcserver: don't memset pi_buff if it is null Colin King <colin.king@canonical.com> - 2015-10-08 21:10 +0200
  Re: [PATCH] powerpc/pseries/hvcserver: don't memset pi_buff if it is null Daniel Axtens <dja@axtens.net> - 2015-10-12 02:40 +0200
    Re: [PATCH] powerpc/pseries/hvcserver: don't memset pi_buff if it is  null Colin Ian King <colin.king@canonical.com> - 2015-10-12 08:20 +0200
  Re: powerpc/pseries/hvcserver: don't memset pi_buff if it is null Michael Ellerman <mpe@ellerman.id.au> - 2015-10-12 13:30 +0200

csiph-web