Re: [PATCH] radio-bcm2048.c: fix wrong overflow check

From: Pali RohÃr
Date: Tue Apr 22 2014 - 05:47:26 EST


On Tuesday 22 April 2014 11:38:36 Pavel Machek wrote:
> On Tue 2014-04-22 12:16:56, Dan Carpenter wrote:
> > On Tue, Apr 22, 2014 at 10:55:53AM +0200, Pali RohÃr wrote:
> > > On Tuesday 22 April 2014 10:39:17 Dan Carpenter wrote:
> > > > On Sun, Apr 20, 2014 at 04:56:22PM +0200, Pavel Machek
wrote:
> > > > > Fix wrong overflow check in radio-bcm2048.
> > > > >
> > > > > Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
> > > > > Signed-off-by: Pavel Machek <pavel@xxxxxx>
> > > >
> > > > Signed off means like you're signing a legal document to
> > > > show that you didn't do anything illegal when you
> > > > handled the patch. Was this patch authored by Pali?
> > > > If so, then use the From: header.
> > > >
> > > > Btw, I reported this bug on Dec 10 last year. It's
> > > > better that we fix it now than not fix it at all but we
> > > > could have done better. Was the kbuild-zero-day bug
> > > > report format confusing or how could I have helped out
> > > > there?
> > > >
> > > > regards,
> > > > dan carpenter
> > >
> > > Hello, I sent this patch months ago, but not generated by
> > > commmand git format-patch.
> >
> > You should still have recieved authorship credit instead of
> > Pavel. It's a newbie mistake which I have made myself.
> > Pavel, use the From: header to give authorship credit. It
> > goes on the first line of the email.
> >
> > Did you send it to the correct list? This patch should have
> > gone to linux-media@xxxxxxxxxxxxxxxx I see now that they
> > are not CC'd. Please resend it to the correct list.
>
> How many more mails need to be generated for single line
> trivial patch? It is staging driver, so Greg should take it.
> Anyway, cc-ed the list now.
>
> > > And yes, this problem was reported by some public static
> > > code checker.
> >
> > I was the public static code checker and I sent the bug
> > report from my @oracle.com email address. Please, give me
> > a Reported-by credit since you are resending this patch
> > anyway.
>
> Feel free to resubmit the patch yourself.
>
> Pavel

I agree with Pavel, this patch which fixing buffer overflow bug
should have been already included in kernel tree. And I think it
really does not matter which from, to or cc lines are specified
for singleline patch which was inspirated by static code checker.
Rather to have fixed bug as talking who found it or who fixed it.

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.