linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] Add missing handling of malloc() failure
@ 2011-10-26 15:30 Jes.Sorensen
  2011-10-26 15:30 ` [PATCH 01/13] count_active() catch " Jes.Sorensen
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Jes.Sorensen @ 2011-10-26 15:30 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid

From: Jes Sorensen <Jes.Sorensen@redhat.com>

Hi,

I cam across a couple of these last week while I was chasing the
assemble problem of IMSM raids, so I started going through the code to
fix up some more of these.

This is just low hanging fruit, and there is more to be done, but at
least it's a few fixes.

Cheers,
Jes


Jes Sorensen (13):
  count_active() catch malloc() failure
  Catch malloc() failures
  Try to catch malloc() failures in Assemble.c
  Attempt to catch malloc() failure in Detail.c
  Handle malloc() failure in Examine.c
  Handle malloc() errors in Manage.c
  Fix malloc() failure handling in Monitor.c
  Handle malloc() failures in devline()
  Fix malloc handling in dlink.c
  Handle malloc() failure in Grow.c
  Handle malloc() failure in mdopen.c
  Handle malloc() failure in mdstat.c
  Catch malloc() failure

 Assemble.c    |   37 ++++++++++++++++++++-
 Detail.c      |   22 +++++++++++++
 Examine.c     |    5 +++
 Grow.c        |    7 ++++
 Incremental.c |    4 ++
 Manage.c      |   13 ++++++-
 Monitor.c     |    7 ++++
 config.c      |   99 ++++++++++++++++++++++++++++++++++++++++++---------------
 dlink.c       |    6 ++-
 mdopen.c      |    6 +++
 mdstat.c      |    5 +++
 policy.c      |    5 +++
 util.c        |   19 +++++++++--
 13 files changed, 200 insertions(+), 35 deletions(-)

-- 
1.7.6.4


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-10-27  7:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 15:30 [PATCH 00/13] Add missing handling of malloc() failure Jes.Sorensen
2011-10-26 15:30 ` [PATCH 01/13] count_active() catch " Jes.Sorensen
2011-10-26 15:30 ` [PATCH 02/13] Catch malloc() failures Jes.Sorensen
2011-10-26 15:30 ` [PATCH 03/13] Try to catch malloc() failures in Assemble.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 04/13] Attempt to catch malloc() failure in Detail.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 05/13] Handle malloc() failure in Examine.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 06/13] Handle malloc() errors in Manage.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 07/13] Fix malloc() failure handling in Monitor.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 08/13] Handle malloc() failures in devline() Jes.Sorensen
2011-10-26 15:30 ` [PATCH 09/13] Fix malloc handling in dlink.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 10/13] Handle malloc() failure in Grow.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 11/13] Handle malloc() failure in mdopen.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 12/13] Handle malloc() failure in mdstat.c Jes.Sorensen
2011-10-26 15:30 ` [PATCH 13/13] Catch malloc() failure Jes.Sorensen
2011-10-27  4:49 ` [PATCH 00/13] Add missing handling of " NeilBrown
2011-10-27  7:39   ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).