[patch] Staging: sb105x: info leak in mp_get_count()

Josh Triplett josh at joshtriplett.org
Mon Nov 4 04:31:50 UTC 2013


On Mon, Nov 04, 2013 at 02:11:50AM +0300, Dan Carpenter wrote:
> On Sun, Nov 03, 2013 at 10:28:02AM -0800, Josh Triplett wrote:
> > On Tue, Oct 29, 2013 at 11:01:43PM +0300, Dan Carpenter wrote:
> > > The icount.reserved[] array isn't initialized so it leaks stack
> > > information to userspace.
> > > 
> > > Reported-by: Nico Golde <nico at ngolde.de>
> > > Reported-by: Fabian Yamaguchi <fabs at goesec.de>
> > > Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> > 
> > Reviewed-by: Josh Triplett <josh at joshtriplett.org>
> > 
> > Also, you don't quite have the patch format right here; you should have
> > a --- line after the commit mesage, followed by a diffstat.  Did you use
> > git format-patch to generate this patch?
> 
> I normally don't include the diffstat.  Which tools care about that?

Human wetware. :)

It isn't required by any tools.  The --- is, though, to produce
something applicable by git.

- Josh Triplett


More information about the devel mailing list