On Mon, Mar 09, 2015 at 09:08:17PM +0100, Matteo Semenzato wrote: > From: Matteo Semenzato <mattew8898@xxxxxxxxx> > > 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 devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel