mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-12015 Update the array size to avoid buffer overflow
X-SVN-Rev: 38185
This commit is contained in:
parent
cbc1e34b7f
commit
fbff04a4d0
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*****************************************************************************
|
||||
*
|
||||
* Copyright (C) 1998-2014, International Business Machines
|
||||
* Copyright (C) 1998-2016, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*****************************************************************************
|
||||
|
@ -26,7 +26,7 @@
|
|||
#include "unicode/ucnv.h"
|
||||
#include "ustrfmt.h"
|
||||
|
||||
#define VALUE_STRING_LENGTH 32
|
||||
#define VALUE_STRING_LENGTH 48
|
||||
/*Magic # 32 = 4(number of char in value string) * 8(max number of bytes per char for any converter) */
|
||||
#define UNICODE_PERCENT_SIGN_CODEPOINT 0x0025
|
||||
#define UNICODE_U_CODEPOINT 0x0055
|
||||
|
|
Loading…
Add table
Reference in a new issue