public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: Thomas Jarosch <thomas.jarosch@intra2net.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [perf PATCH] Fix possible unterminated readlink() result buffer
Date: Fri, 14 Oct 2011 14:26:59 -0300	[thread overview]
Message-ID: <20111014172659.GB19655@ghostprotocols.net> (raw)
In-Reply-To: <4E986ABF.9040706@intra2net.com>

Em Fri, Oct 14, 2011 at 07:00:47PM +0200, Thomas Jarosch escreveu:
> No need to do "buf[len] = '\0';" since the buffer
> is allocated with zalloc().
> 
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>

Thanks, applied.

- Arnaldo

      reply	other threads:[~2011-10-14 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14 17:00 [perf PATCH] Fix possible unterminated readlink() result buffer Thomas Jarosch
2011-10-14 17:26 ` Arnaldo Carvalho de Melo [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=20111014172659.GB19655@ghostprotocols.net \
    --to=acme@ghostprotocols.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas.jarosch@intra2net.com \
    /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