ICU-770 Fixed memory access problem.
X-SVN-Rev: 5583
This commit is contained in:
parent
8f861608d6
commit
4a1e955f9c
@ -1008,6 +1008,7 @@ T_UConverter_toUnicode_ISO_2022(UConverterToUnicodeArgs *args,
|
||||
args->flush,
|
||||
err);
|
||||
args->converter = saveThis;
|
||||
myData->isFirstBuffer = FALSE;
|
||||
}
|
||||
if((myData->isFirstBuffer) && (args->source[0]!=(char)ESC_2022)
|
||||
&& (myData->currentConverter==NULL)){
|
||||
@ -1100,6 +1101,8 @@ T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC(UConverterToUnicodeArgs* args,
|
||||
args->flush,
|
||||
err);
|
||||
|
||||
myData->isFirstBuffer = FALSE;
|
||||
|
||||
args->converter = saveThis;
|
||||
{
|
||||
int32_t lim = args->target - myTargetStart;
|
||||
|
Loading…
Reference in New Issue
Block a user