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

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 2015-10-12 13:30 +0200
Message-ID <qiJsK-5Ti-13@gated-at.bofh.it> (permalink)
References <qhoJH-41D-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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