mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
d780e0595c
*** CID 1372598: Null pointer dereferences (FORWARD_NULL) /lib/libefivar/efivar-dp-parse.c: 3612 in UefiDevicePathLibConvertTextToDeviceNode() Dereferencing null pointer "FromText". When ported from Tiano core, I commented this out with an ifdef. That was in error because we're supposed to fallback to a filepath when nothing else patches. Instead, restore the original code, but fix DevPathFromTextFilePath to cope with the conversion to narrow strings. Also, fix the off-by-one error in the size of the memory it allocates. The off by one error is documented in Tiano core bug https://bugzilla.tianocore.org/show_bug.cgi?id=441 CID: 1372598 Sponsored by: Netflix |
||
---|---|---|
.. | ||
efi-osdep.h | ||
efivar-dp-format.c | ||
efivar-dp-parse.c | ||
efivar-dp.h | ||
efivar.3 | ||
efivar.c | ||
efivar.h | ||
FreeBSD-update | ||
Makefile | ||
Makefile.depend | ||
ProcessorBind.h | ||
uefi-dplib.h | ||
uefi-dputil.c | ||
uefi-guid.c | ||
uefi-guid.dat |