linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
To: Peter Huewe <huewe.external.infineon@googlemail.com>
Cc: James Morris <jmorris@namei.org>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [GIT PULL] TPM driver robustness fixes
Date: Tue, 22 Mar 2011 10:16:29 -0300	[thread overview]
Message-ID: <4D88A12D.60301@linux.vnet.ibm.com> (raw)
In-Reply-To: <AANLkTi=uZME7Pr761VJkEiJYFp7L3iexjV3JeMmL63it@mail.gmail.com>

On 03/22/2011 09:58 AM, Peter Huewe wrote:
>
>> Consider what happens in memset if copy_to_user fails.
> Sorry I don't see it. Can you please clearify the problem for me?
>
memset() is called with the count parameter being a negative value,
ret_size=-EFAULT.

Rajiv


  reply	other threads:[~2011-03-22 13:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17  2:23 [GIT PULL] TPM driver robustness fixes Rajiv Andrade
2011-03-17  2:26 ` Rajiv Andrade
2011-03-21 23:01 ` James Morris
     [not found]   ` <AANLkTimS1ss=977x3d-7Wcpj0wGthzW3_G+wqF1wQMc3@mail.gmail.com>
2011-03-22 12:58     ` Peter Huewe
2011-03-22 13:16       ` Rajiv Andrade [this message]
2011-03-22 16:08         ` Peter Huewe
2011-03-28 16:06           ` Rajiv Andrade
2011-04-14 21:35 ` Jeff Mahoney
2011-07-19  6:01 ` Eugene Teo

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=4D88A12D.60301@linux.vnet.ibm.com \
    --to=srajiv@linux.vnet.ibm.com \
    --cc=huewe.external.infineon@googlemail.com \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@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).