- From: Frank Mori Hess <fmhess_at_speakeasy.net>
- Date: Thu, 9 Mar 2006 08:22:43 -0500
Received on 2006-03-09Z13:22:43
On Thursday 09 March 2006 07:57 am, Ian Abbott wrote: > > insn.n is the length of data[]. For insn.insn == INSN_CONFIG, the > required length of data[] depends on data[0], but the checks performed > by the Comedi driver are not very rigorous - see > check_insn_config_length() in comedi/comedi_fops.c. The check actually doesn't do anything right now (note it will always return 0). It ought to be changed to check for inequality on the insns it knows about and return an error if true. -- Frank
Received on 2006-03-09Z13:22:43