From a30fd31b8ad2ef768f0a2bebc3aa3523de14eaea Mon Sep 17 00:00:00 2001 From: PMheart <17109513+PMheart@users.noreply.github.com> Date: Sun, 13 Jun 2021 13:54:14 +0800 Subject: [PATCH] ocvalidate: Better description for StoragePathLengthIsSafe --- Utilities/ocvalidate/OcValidateLib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/ocvalidate/OcValidateLib.h b/Utilities/ocvalidate/OcValidateLib.h index 0709b263..6d289de2 100644 --- a/Utilities/ocvalidate/OcValidateLib.h +++ b/Utilities/ocvalidate/OcValidateLib.h @@ -231,12 +231,12 @@ StringIsDuplicated ( ); /** - Check if the path specified in OpenCore Config is safe enough. + Check if the length of path specified in OpenCore Config is safe enough. @param[in] PrefixLength Length of prefix. @param[in] FileNameSize Size of file path, including the '\0' terminator. - @retval TRUE If Length is safe. + @retval TRUE If (PrefixLength + FileNameSize) does not exceed OC_STORAGE_SAFE_PATH_MAX. **/ BOOLEAN StoragePathLengthIsSafe (