1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/boot/efi
Toomas Soome 9c1cd3f5c3 loader: efi devpath api usage should be more aware of NULL pointers
As the efi_devpath_last_node() and efi_devpath_trim() can return NULL
pointers, the consumers of this API should check the the NULL pointers.

Same for efinet_dev_init() using calloc().

Reported by:	Robert Mustacchi <rm@joyent.com>
Reviewed by:	jhb, allanjude
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D9203
2017-01-18 08:18:07 +00:00
..
boot1 Use proper prototypes in struct boot_module_t 2017-01-11 20:00:24 +00:00
fdt Add more .NOMETA missed in r291320 2016-03-11 23:45:51 +00:00
include loader: move device path definitions to include/efidevp.h 2017-01-16 20:57:01 +00:00
libefi loader: efi devpath api usage should be more aware of NULL pointers 2017-01-18 08:18:07 +00:00
loader loader.efi: find_currdev() can leak memory 2017-01-15 20:03:13 +00:00
Makefile Fix typo in the COMPILER_VERSION check 2016-10-22 20:00:39 +00:00
Makefile.inc [efi] Build EFI bits with -fPIC on ARM 2017-01-10 20:15:24 +00:00