From: "Török Edwin" <edwintorok@gmail.com>
To: Dave Jones <davej@redhat.com>,
Mauro Carvalho Chehab <mchehab@redhat.com>,
Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
Linux Kernel <linux-kernel@vger.kernel.org>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: Memset of length zero bugs
Date: Thu, 26 Nov 2009 18:45:21 +0200 [thread overview]
Message-ID: <4B0EB0A1.90403@gmail.com> (raw)
In-Reply-To: <4B0E6189.6050708@gmail.com>
On 2009-11-26 13:07, Török Edwin wrote:
> On 2009-11-11 23:57, Dave Jones wrote:
>
>> Nearly every invocation of memset in drivers/staging/hv/StorVsc.c
>> has it's arguments the wrong way around.
>>
> Hi,
>
> I found 2 more bugs like this in v2.6.32-rc8-11-ga8a8a66 by letting gcc
> warn in such cases on an allyesconfig build.
> I used the attached patch (meant to be used only to find bugs, linking
> fails).
>
Forgot to mention that this code is the one from glibc (2.10.1)'s memset.
Best regards,
--Edwin
next prev parent reply other threads:[~2009-11-26 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 21:57 Fix argument order in incorrect memset invocations in hyperv driver Dave Jones
2009-11-26 11:07 ` Memset of length zero bugs Török Edwin
2009-11-26 16:45 ` Török Edwin [this message]
2009-11-27 15:04 ` Artem Bityutskiy
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=4B0EB0A1.90403@gmail.com \
--to=edwintorok@gmail.com \
--cc=Artem.Bityutskiy@nokia.com \
--cc=davej@redhat.com \
--cc=dwmw2@infradead.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.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