From: Alasdair G Kergon <agk@redhat.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Alasdair Kergon <agk@redhat.com>,
linux-raid@vger.kernel.org, dm-devel@redhat.com, kbuild@01.org,
kernel-janitors@vger.kernel.org
Subject: Re: [dm-devel] [patch] dm-cache-target: check for allocation failure
Date: Fri, 1 Mar 2013 21:36:33 +0000 [thread overview]
Message-ID: <20130301213632.GE8373@agk.fab.redhat.com> (raw)
In-Reply-To: <20130301202641.GA22066@longonot.mountain>
On Fri, Mar 01, 2013 at 11:26:41PM +0300, Dan Carpenter wrote:
> The allocation here isn't checked. I changed it to using kcalloc()
> as a cleanup. It adds integer overflow checking as well which makes
> the code easier to audit.
Folded it in - thanks.
Alasdair
prev parent reply other threads:[~2013-03-01 21:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 20:26 [patch] dm-cache-target: check for allocation failure Dan Carpenter
2013-03-01 21:36 ` Alasdair G Kergon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130301213632.GE8373@agk.fab.redhat.com \
--to=agk@redhat.com \
--cc=dan.carpenter@oracle.com \
--cc=dm-devel@redhat.com \
--cc=kbuild@01.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).