On Mon, Mar 09, 2015 at 09:08:17PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato <[email protected]>
> 
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to