提交 b71e159e 编写于 作者: M Mike Beaton

OcHiiDatabaseLib: Fix incorrect AllocateCopyPool size

上级 3a52965f
......@@ -1987,7 +1987,7 @@ GetNameFromId (
NULL
);
if (BestLanguage == NULL) {
BestLanguage = AllocateCopyPool (L_STR_LEN ("en-US"), "en-US");
BestLanguage = AllocateCopyPool (L_STR_SIZE ("en-US"), "en-US");
ASSERT (BestLanguage != NULL);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册