lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 3 Sep 2014 17:03:14 +0000 From: Hartley Sweeten <HartleyS@...ionengravers.com> To: Ian Abbott <abbotti@....co.uk>, "driverdev-devel@...uxdriverproject.org" <driverdev-devel@...uxdriverproject.org> CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: RE: [PATCH] staging: comedi: ni_at_a2150: range check board index On Monday, September 01, 2014 6:14 AM, Ian Abbott wrote: > The "ni_at_a2150" driver determines the board type by calling > `a2150_probe()`. This reads a register and converts it to a board index > in the range 0 to 3. However, the board table array it indexes into > (`a2150_boards[]`) only has 2 entries. Return an error from the > Comedi driver "attach" handler `a2150_attach()` if the probed board > index is beyond the end of the array. > > Signed-off-by: Ian Abbott <abbotti@....co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@...ionengravers.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists