Check integer overflow in do_cmd_ioctl() and do_cmdtest_ioctl().
authorIan Abbott <abbotti@mev.co.uk>
Wed, 23 Nov 2011 15:28:57 +0000 (15:28 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 23 Nov 2011 15:28:57 +0000 (15:28 +0000)
commit824ffcaf3a1bd55a111ed67cf5b0cb3cd18b405f
tree160b3aef530eaf345af710f93cbfcbd3b5b80275
parent8aa891b4d7327af2997c7eb038b85bd1513d9405
Check integer overflow in do_cmd_ioctl() and do_cmdtest_ioctl().

Check for integer overflow when allocating buffer for channel list.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/comedi_fops.c