Files
src/lib
Jose Luis Duran 5c2ae0a209 libefivar: Add sanity check for FilePath device path
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1497

Current implementation of IsDevicePathValid() is not enough for type
of MEDIA_FILEPATH_DP, which has NULL-terminated string in the device
path. This patch add a simple NULL character check at Length position.

Note that the link above no longer exists.  The commit message was kept
verbatim.  An archived version of the bug report can be found at:
https://web.archive.org/web/20240714191428/https://bugzilla.tianocore.org/show_bug.cgi?id=1497

Add the const keyword to avoid errors/warnings about dropping a const
qualifier.

Obtained from:	https://github.com/tianocore/edk2/commit/2f7a96d6ec13b292d6f31295f3195913921173e1

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
2025-11-25 11:17:24 -07:00
..
2025-11-24 10:47:10 -05:00
2024-10-14 10:26:17 -07:00
2025-01-01 15:11:06 -06:00
2025-09-28 21:28:12 -07:00
2024-10-14 10:26:17 -07:00
2025-10-02 02:37:35 +01:00
2024-10-14 10:26:17 -07:00
2025-10-03 19:46:55 +02:00
2025-11-25 14:50:09 +01:00
2025-11-24 10:47:10 -05:00
2025-11-24 10:47:10 -05:00
2025-08-08 13:27:26 -05:00
2024-10-08 16:13:39 -03:00
2024-10-14 10:26:17 -07:00
2025-11-16 22:58:36 -07:00
2024-10-14 10:26:17 -07:00
2025-08-06 12:31:24 +01:00
2024-11-12 12:11:51 -05:00
2025-10-23 12:03:29 -07:00
2025-09-30 09:14:05 +01:00
2025-10-28 19:24:55 +00:00
2025-11-06 15:20:52 +00:00
2025-11-03 21:14:09 +01:00