freebsd-dev/sys/dev/bhnd
Landon J. Fuller 397b9e40e9 Add missing NULL checks when calling malloc(M_NOWAIT) in
bhnd_nv_strdup/bhnd_nv_strndup.

If malloc(9) failed during initial bhnd(4) attach, while allocating the root
NVRAM path string ("/"), the returned NULL pointer would be passed as the
destination to memcpy().

Reported by:	Ilja Van Sprundel <ivansprundel@ioactive.com>
2018-03-22 22:13:46 +00:00
..
bcma dev/bhnd: Make use of mallocarray(9). 2018-01-11 15:44:03 +00:00
bhndb bhndb_pci(4): Implement bridge support for CardBus-attached devices. 2018-01-19 22:22:02 +00:00
cores bhnd_chipc(4): Fix leak of child device ivars by explicitly deleting 2018-01-20 01:55:34 +00:00
nvram Add missing NULL checks when calling malloc(M_NOWAIT) in 2018-03-22 22:13:46 +00:00
siba siba(4): Ignore disabled per-core address match entries. 2018-02-12 19:36:26 +00:00
tools bhnd(4): Add missing enclosing parentheses to the bhnd bus space macros to 2017-12-14 03:03:08 +00:00
bhnd_bus_if.m bhnd(4): Fix bcma/siba core reset behavior 2017-11-27 22:13:30 +00:00
bhnd_debug.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
bhnd_erom_if.m bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
bhnd_erom_types.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
bhnd_erom.c bhnd(4)/bwn(4): Fix a number of small issues reported by Coverity. 2017-12-15 04:51:47 +00:00
bhnd_erom.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
bhnd_eromvar.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
bhnd_ids.h bwn(4): migrate bwn(4) to the native bhnd(9) interface, and drop siba_bwn. 2018-02-05 23:38:15 +00:00
bhnd_match.h bhnd(4): Include board_devid in the bhnd_board_info structure, and populate 2017-12-14 01:58:05 +00:00
bhnd_private.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
bhnd_subr.c bhnd/bwn(4): Define a bhnd(4) softmodem device class for the v.90 modem 2018-01-19 22:43:08 +00:00
bhnd_types.h bhnd/bwn(4): Define a bhnd(4) softmodem device class for the v.90 modem 2018-01-19 22:43:08 +00:00
bhnd.c bhnd(4): Include board_devid in the bhnd_board_info structure, and populate 2017-12-14 01:58:05 +00:00
bhnd.h bhnd(4): Add missing enclosing parentheses to the bhnd bus space macros to 2017-12-14 03:03:08 +00:00
bhndreg.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
bhndvar.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00