MdeModulePkg: Fix potential buffer overflow issues.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17472 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -113,8 +113,9 @@ extern BOOLEAN gMisMatch;
|
||||
//
|
||||
// It take 23 characters including the NULL to print a 64 bits number with "[" and "]".
|
||||
// pow(2, 64) = [18446744073709551616]
|
||||
// with extra '-' flat, set the width to 24.
|
||||
//
|
||||
#define MAX_NUMERIC_INPUT_WIDTH 23
|
||||
#define MAX_NUMERIC_INPUT_WIDTH 24
|
||||
|
||||
#define EFI_HII_EXPRESSION_INCONSISTENT_IF 0
|
||||
#define EFI_HII_EXPRESSION_NO_SUBMIT_IF 1
|
||||
|
Reference in New Issue
Block a user