On Mon, Mar 09, 2015 at 09:08:17PM +0100, Matteo Semenzato wrote: > From: Matteo Semenzato <mattew8...@gmail.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 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel