From: David Howells <dhowells@redhat.com>
To: Insu Yun <wuninsu@gmail.com>
Cc: dhowells@redhat.com, james.l.morris@oracle.com, serge@hallyn.com,
keyrings@vger.kernel.org, linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org, Taesoo Kim <taesoo@gatech.edu>,
Yeongjin Jang <yeongjin.jang@gatech.edu>,
"Yun, Insu" <insu@gatech.edu>
Subject: Re: [PATCH] keys: correctly check failed allocation for kmemdup
Date: Thu, 15 Oct 2015 20:40:39 +0100 [thread overview]
Message-ID: <5003.1444938039@warthog.procyon.org.uk> (raw)
In-Reply-To: <CAGoFzNe6VAQZd_jYb_rXSB=DhSW4bMm1vgtqwPadHbZLWav42w@mail.gmail.com>
Insu Yun <wuninsu@gmail.com> wrote:
> Thanks David. Then it is not a bug.
> It's a pure question.
> Why use different name for allocation and check?
> For me, it is quite confusing.
Either I didn't notice at the time, or the shorter variant is the original.
If you want to give me a patch making it consistent, feel free.
David
prev parent reply other threads:[~2015-10-15 19:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGoFzNe6VAQZd_jYb_rXSB=DhSW4bMm1vgtqwPadHbZLWav42w@mail.gmail.com>
2015-10-15 16:22 ` Insu Yun
2015-10-15 18:57 ` David Howells
2015-10-15 19:40 ` David Howells [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=5003.1444938039@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=insu@gatech.edu \
--cc=james.l.morris@oracle.com \
--cc=keyrings@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=serge@hallyn.com \
--cc=taesoo@gatech.edu \
--cc=wuninsu@gmail.com \
--cc=yeongjin.jang@gatech.edu \
/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
all inboxes | Powered by JetHome®