[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150310064440.GK10964@mwanda>
Date: Tue, 10 Mar 2015 09:44:40 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Matteo Semenzato <mattew8898@...il.com>
Cc: gregkh@...uxfoundation.org, abbotti@....co.uk,
hsweeten@...ionengravers.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: comedi: fix information leak
On Mon, Mar 09, 2015 at 09:08:17PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato <mattew8898@...il.com>
>
> The comedi_cmd struct has an hole after chanlist_len that could contain uninitialized
> memory, this struct is copied to userspace.
>
Is this a Smatch warning? If so then, I appologize because it's a false
positive. You really need to have the cross function database built for
that test to work.
The struct is initialized in __comedi_get_user_cmd().
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists