freebsd-dev/lib/libefivar
Warner Losh 0e5d767884 Minor fixes to edge cases in efi_get_next_variable_name
Fix allocating more memory for the names (unlikely to be needed, but
still best to get right) to ask for the length the kernel told use we
needed, not the old length of the variable. Mind the proper NUL that
we add in the space we allocate. Free the old name string before we
allcoate a new one to limit what we leak to the last one (free passed
in name for the last one in the list), and detect the last one by rv
!= 0 and errno == ENOENT, rather then just the former to avoid false
positives if errno happens to be ENOENT on entry.

Sponsored by: Netflix
2017-09-13 04:32:23 +00:00
..
efi-osdep.h Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
efivar-dp-format.c Implement efidp_size 2017-09-07 07:30:14 +00:00
efivar-dp-parse.c Fix parsing File() nodes in device paths. 2017-08-31 15:53:47 +00:00
efivar-dp.h Implement efidp_size 2017-09-07 07:30:14 +00:00
efivar.3
efivar.c Minor fixes to edge cases in efi_get_next_variable_name 2017-09-13 04:32:23 +00:00
efivar.h Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
FreeBSD-update Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
Makefile libefivar: -fno-strict-aliasing 2017-09-04 18:59:44 +00:00
Makefile.depend DIRDEPS_BUILD: Connect new dependencies. 2016-11-13 00:11:23 +00:00
ProcessorBind.h Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
uefi-dplib.h Define StrCmp in a funky was to be bug-compatible with EDK2 code. 2017-03-23 02:30:52 +00:00
uefi-dputil.c fix typo 2017-07-24 18:10:42 +00:00
uefi-guid.c Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
uefi-guid.dat Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00