freebsd-dev/lib/libefivar
Jose Luis Duran 7ca6daff6a libefivar: Refine the DevPathFromTextiSCSI protocol parsing
For current iSCSI protocol parsing, UINT16 truncation may be happened. Since
the Spec already have declaimed that 0 is TCP Protocol and 1+ is reserved, the
parsing can be refined as below:

  if (StrCmp (ProtocolStr, L"TCP") == 0) {
    ISCSIDevPath->NetworkProtocol = 0;
  } else {
    //
    // Undefined and reserved.
    //
    ISCSIDevPath->NetworkProtocol = 1;
  }

Obtained from:	7571a1c191
Pull Request:   https://github.com/freebsd/freebsd-src/pull/581
2022-02-27 09:12:18 -07:00
..
efi-osdep.h libefivar: define MDE_CPU_RISCV64 2020-07-06 17:47:29 +00:00
efivar-dp-format.c libefivar: Correct the string expression of UTF8 vendor device path 2022-02-23 09:20:26 -07:00
efivar-dp-parse.c libefivar: Refine the DevPathFromTextiSCSI protocol parsing 2022-02-27 09:12:18 -07:00
efivar-dp-xlate.c Add additional sanity checks. 2019-12-09 01:32:18 +00:00
efivar-dp.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar.3 Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
FreeBSD-update Bring in EDK2 routines for printing and parsing device paths. 2017-03-09 00:31:31 +00:00
Makefile libefivar(3): efi_set_variables_supported.3 should be efi_variables_supported.3 2021-12-21 20:42:39 +08:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +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 Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
uefi-dputil.c Regularize the Netflix copyright 2019-02-04 21:28:25 +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