ocvalidate: Better description for StoragePathLengthIsSafe

This commit is contained in:
PMheart 2021-06-13 13:54:14 +08:00
parent 057a8cf861
commit a30fd31b8a

View File

@ -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 (