Re: [PATCH] firmware: dmi_scan: Prevent dmi_num integer overflow

From: Jean Delvare
Date: Fri Mar 27 2015 - 09:22:40 EST


Hi Matt,

Le Friday 27 March 2015 Ã 12:12 +0000, Matt Fleming a Ãcrit :
> On Thu, 26 Mar, at 04:21:53PM, Jean Delvare wrote:
> > Le Thursday 26 March 2015 Ã 14:47 +0000, Matt Fleming a Ãcrit :
> > > On Thu, 26 Mar, at 02:15:05PM, Jean Delvare wrote:
> > > >
> > > > I don't actually have a tree, so feel free to pick it.
> > >
> > > OK will do, but this is a regression fix for a potential bug introduced
> > > in commit 6d9ff4733172 ("firmware: dmi_scan: Fix dmi_len type"), right?
> >
> > Not really. I'd rather say it complements commit 6d9ff4733172. The
> > actual bugs were introduced in commit fc43026278b2. But you can't really
> > call it a regression as SMBIOS 3.0 entry points were not supported at
> > all before that commit.
>
> OK, thanks for clarifying.
>
> > Still a reference to commit fc43026278b2 would certainly be appropriate,
> > as anyone backporting that commit will also want to pick the two
> > aforementioned fix-ups (plus ce204e9a4bd8 for that matter.)
>
> commit ce204e9a4bd8 and 6d9ff4733172 are already tagged for stable, so
> we should be good there.
>
> This is what I've got queued up to send to tip today. Feel free to send
> me another version today if you want to word things differently.

Looks good, thanks for taking care of it.

--
Jean Delvare
SUSE L3 Support

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/