ICU-12015 Update the array size to avoid buffer overflow

X-SVN-Rev: 38185
This commit is contained in:
Michael Ow 2016-01-21 19:49:39 +00:00
parent cbc1e34b7f
commit fbff04a4d0

View file

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