From: Ian Abbott Date: Wed, 14 Nov 2012 11:22:57 +0000 (+0000) Subject: staging: comedi: check data length for INSN_CONFIG_DIGITAL_TRIG X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~342 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a2b6d8ac9ce5d27c9086a196d8f44194561979;p=pandora-kernel.git staging: comedi: check data length for INSN_CONFIG_DIGITAL_TRIG The newly defined format for the `INSN_CONFIG_DIGITAL_TRIG` configuration instruction expects 6 data values. Check the length in `check_insn_config_length()` before calling the comedi subdevice's `insn_config` handler. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed