From f32fcafadda3fa4cdebdaf8fd3a8c3b94d761ff1 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Tue, 16 Jun 2015 18:31:19 +0000 Subject: [PATCH] ICU-11732 Increase buffer size to avoid overflow X-SVN-Rev: 37580 --- icu4c/source/tools/pkgdata/pkgdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/tools/pkgdata/pkgdata.cpp b/icu4c/source/tools/pkgdata/pkgdata.cpp index 3050460775..60167dd3c9 100644 --- a/icu4c/source/tools/pkgdata/pkgdata.cpp +++ b/icu4c/source/tools/pkgdata/pkgdata.cpp @@ -2171,7 +2171,7 @@ static void pkg_createOptMatchArch(char *optMatchArch) { T_FileStream_writeLine(stream, code); T_FileStream_close(stream); - char cmd[SMALL_BUFFER_MAX_SIZE]; + char cmd[LARGE_BUFFER_MAX_SIZE]; sprintf(cmd, "%s %s -o %s", pkgDataFlags[COMPILER], source,