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 (