1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/dev/bhnd
Landon J. Fuller 71edabf7bd Fix heap overflow in bhnd(4) SPROM parsing.
The bus_region_* APIs accept the number of data items to be read, while
the code was passing the total number of bytes, resulting in an overflow
of the SPROM parser's buffer.

Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D7168
2016-07-10 00:08:40 +00:00
..
bcma bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00
bhndb revert error commit from previous commit. my bad! 2016-06-23 01:15:35 +00:00
cores bhnd(4): Perform explicit chipc child enumeration. 2016-06-25 04:33:00 +00:00
nvram Fix heap overflow in bhnd(4) SPROM parsing. 2016-07-10 00:08:40 +00:00
siba bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00
tools [bhnd] Add remaining bus_(read|write|set)_(1|2|4) APIs 2016-05-20 00:45:16 +00:00
bhnd_bus_if.m bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00
bhnd_core.h [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA 2016-06-23 01:14:33 +00:00
bhnd_debug.h [bhnd] Add logging macros to BHND. 2016-05-16 23:40:32 +00:00
bhnd_ids.h [bhnd] Finish bhnd(4) PCI/PCIe-G1 hostb support. 2016-05-17 06:52:53 +00:00
bhnd_match.h [bhnd] Normalize bhnd(4) device matching API 2016-05-24 21:20:17 +00:00
bhnd_nexus.c bhnd(4): Fix resource allocation issues exposed by chipc PMU support. 2016-06-16 19:57:24 +00:00
bhnd_nexusvar.h Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom 2016-06-04 19:53:47 +00:00
bhnd_subr.c bhnd(4): Perform explicit chipc child enumeration. 2016-06-25 04:33:00 +00:00
bhnd_types.h [bhnd] Add support for querying the attachment type of the bhnd bus. 2016-05-23 03:47:44 +00:00
bhnd.c bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00
bhnd.h bhnd(4): Add a vendor parameter to BHND_DEVICE(), replacing vendor-specific 2016-06-08 21:31:33 +00:00
bhndreg.h
bhndvar.h bhnd(4): Add devinfo allocation and child addition methods, modeled on 2016-06-25 04:36:30 +00:00