freebsd-skq/sys/dev/bhnd/nvram
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
..
bhnd_nvram_data_bcm.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_bcmraw.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_bcmreg.h
bhnd_nvram_data_bcmvar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_btxt.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_sprom_subr.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_sprom.c bhnd(4)/bwn(4): Fix a number of small issues reported by Coverity. 2017-12-15 04:51:47 +00:00
bhnd_nvram_data_spromvar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_tlv.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_tlvreg.h
bhnd_nvram_data.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_datavar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_if.m
bhnd_nvram_io.c
bhnd_nvram_io.h
bhnd_nvram_iobuf.c
bhnd_nvram_ioptr.c
bhnd_nvram_iores.c
bhnd_nvram_iovar.h
bhnd_nvram_plist.c
bhnd_nvram_plist.h
bhnd_nvram_plistvar.h
bhnd_nvram_private.h Add missing NULL checks when calling malloc(M_NOWAIT) in 2018-03-22 22:13:46 +00:00
bhnd_nvram_store_subr.c kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
bhnd_nvram_store.c
bhnd_nvram_store.h
bhnd_nvram_storevar.h
bhnd_nvram_subr.c bhnd(4) update inline documentation comments and man pages. 2017-11-27 21:30:49 +00:00
bhnd_nvram_value_fmts.c
bhnd_nvram_value_prf.c
bhnd_nvram_value_subr.c
bhnd_nvram_value.c
bhnd_nvram_value.h
bhnd_nvram_valuevar.h
bhnd_nvram.h
bhnd_sprom.c bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bhnd_spromvar.h
nvram_map bhnd(4): Fix the pa0itssit/pa1itssit NVRAM variable type definitions 2017-12-16 05:22:16 +00:00