freebsd-src/sys/dev/bhnd
Mark Johnston 4c3aa00c0a bhnd: Correct the softc size in the siba_bhndb_driver definition
struct siba_bhndb_softc embeds struct siba_softc and adds an extra
field, "quirks".  In practice, this bug was harmless since "quirks" is
unconditionally initialized during driver attach and would have lived in
the redzone of the softc allocation, but KASAN catches the out-of-bounds
access.

PR:		275515
Reported by:	Frank Hilgendorf <frank.hilgendorf@posteo.de>
MFC after:	1 week
2023-12-05 13:47:03 -05:00
..
bcma sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bhndb sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cores sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvram sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
siba bhnd: Correct the softc size in the siba_bhndb_driver definition 2023-12-05 13:47:03 -05:00
tools sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
bhnd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bhnd.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bhnd_bus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
bhnd_debug.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
bhnd_erom.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bhnd_erom.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bhnd_erom_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
bhnd_erom_types.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bhnd_eromvar.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bhnd_ids.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bhnd_match.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bhnd_private.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bhnd_subr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bhnd_types.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bhndreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bhndvar.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00