summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Riggle <riggle@google.com>2015-06-18 13:38:44 -0400
committerAbhisek Devkota <ciwrl@cyanogenmod.com>2015-08-18 15:05:55 -0700
commit0022d2330005c0a859b3ae4ac30ed5d8ee549529 (patch)
tree609c31732cebdb19a7eb8b25ae14d3f22b147ad8
parent9e114a9d27c00c6f4bc98ca10c6b1921856a341b (diff)
downloadandroid_external_icu-stable/cm-12.0-YNG4N.tar.gz
android_external_icu-stable/cm-12.0-YNG4N.tar.bz2
android_external_icu-stable/cm-12.0-YNG4N.zip
Fix potential overflow issuestable/cm-12.0-YNG4N
CYNGNOS-446 Bug: 19261635 Change-Id: Ia71a2273715953acfc93d14cbaf72ad7507ce445 (cherry picked from commit caf46b940a40e883889cda0cb7c0cf732a59e0d7)
-rw-r--r--icu4c/source/common/ubidiimp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/icu4c/source/common/ubidiimp.h b/icu4c/source/common/ubidiimp.h
index c8fb68534..78ecd4531 100644
--- a/icu4c/source/common/ubidiimp.h
+++ b/icu4c/source/common/ubidiimp.h
@@ -1,7 +1,7 @@
/*
******************************************************************************
*
-* Copyright (C) 1999-2014, International Business Machines
+* Copyright (C) 1999-2015, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
@@ -184,8 +184,8 @@ typedef struct BracketData {
typedef struct Isolate {
int32_t startON;
int32_t start1;
+ int32_t state;
int16_t stateImp;
- int16_t state;
} Isolate;
typedef struct Run {