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


Groups > linux.kernel > #1379111

Re: [patch v2] md/raid0: fix uninitialized variable bug

From Shaohua Li <shli@kernel.org>
Newsgroups linux.kernel
Subject Re: [patch v2] md/raid0: fix uninitialized variable bug
Date 2016-04-14 19:00 +0200
Message-ID <rnSMy-51D-23@gated-at.bofh.it> (permalink)
References <rnwsG-4zJ-3@gated-at.bofh.it> <rnLUK-83r-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 14, 2016 at 12:31:49PM +0300, Dan Carpenter wrote:
> If this function fails the callers expect that *private_conf is set to
> an ERR_PTR() but that isn't true for the first error path where we can't
> allocate "conf".  It leads to some uninitialized variable bugs.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied, thanks!

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


Thread

[patch] md/raid0: check for create_strip_zones() errors Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-13 08:50 +0200
  Re: [patch] md/raid0: check for create_strip_zones() errors Shaohua Li <shli@kernel.org> - 2016-04-13 19:10 +0200
    Re: [patch] md/raid0: check for create_strip_zones() errors Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-13 20:00 +0200
    [patch v2] md/raid0: fix uninitialized variable bug Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-14 11:40 +0200
      Re: [patch v2] md/raid0: fix uninitialized variable bug Shaohua Li <shli@kernel.org> - 2016-04-14 19:00 +0200

csiph-web