freebsd-dev/sys/dev/oce
Mark Johnston 6e7ecc9a89 oce: Tighten input validation in the SIOCGI2C handler.
Missing validation meant that it was possible to read 8 bytes beyond
the end of sfp_vpd_dump_buffer.

Reported by:	Ilja Van Sprundel <ivansprundel@ioactive.com>
Reviewed by:	delphij, ram
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22859
2019-12-18 18:44:16 +00:00
..
oce_hw.c net: prefer ETHER_ADDR_LEN over ETH_ADDR_LEN 2019-11-04 22:57:36 +00:00
oce_hw.h
oce_if.c oce: Tighten input validation in the SIOCGI2C handler. 2019-12-18 18:44:16 +00:00
oce_if.h net: prefer ETHER_ADDR_LEN over ETH_ADDR_LEN 2019-11-04 22:57:36 +00:00
oce_mbox.c Added support for the SIOCGI2C ioctl. 2019-01-08 05:41:04 +00:00
oce_queue.c
oce_sysctl.c Added support for the SIOCGI2C ioctl. 2019-01-08 05:41:04 +00:00
oce_user.h
oce_util.c