From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: chenliu@asset.uwaterloo.ca
Cc: schwidefsky@de.ibm.com, linux390@de.ibm.com, cotte@de.ibm.com,
linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH]early: Fix possible overlapping data buffer
Date: Mon, 14 Mar 2011 11:02:05 +0100 [thread overview]
Message-ID: <20110314100205.GA2520@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <20110311160442.GA13495@asset.uwaterloo.ca>
On Fri, Mar 11, 2011 at 11:04:42AM -0500, chenliu@asset.uwaterloo.ca wrote:
> Thanks Heiko. I've followed your advice to give a new patch here.
> ---------------------------------
>
> This patch fixed bugzilla #12965:
> https://bugzilla.kernel.org/show_bug.cgi?id=12965
>
> The original code contains some inproper use of sprintf
> function where a buffer is used both as input string
> as well as output string. It should remember the written
> bytes in the previous and use that as the offset for
> later writing. Also replace sprintf with snprintf.
>
> Signed-off-by: Chen Liu <chenliunju@gmail.com>
Hi Chen,
I still want a patch where the From: and Signed-off-by: lines
are identical. Otherwise I won't take the patch.
Also you didn't answer my other question: did you actually
test that after your change the code still works?
If not, then I would have to do that.
The patch looks ok so far (besides two lines that could
be removed).
Thanks,
Heiko
next prev parent reply other threads:[~2011-03-14 10:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 16:04 chenliu
2011-03-14 10:02 ` Heiko Carstens [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-14 15:25 chenliu
2011-03-16 9:57 ` Heiko Carstens
2011-03-10 17:33 chenliu
2011-03-11 7:42 ` Heiko Carstens
2011-03-07 15:23 [PATCH]early: fix " chenliu
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=20110314100205.GA2520@osiris.boeblingen.de.ibm.com \
--to=heiko.carstens@de.ibm.com \
--cc=chenliu@asset.uwaterloo.ca \
--cc=cotte@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux390@de.ibm.com \
--cc=schwidefsky@de.ibm.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
Powered by JetHome