mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-13593 Fix heap-buffer-overflow in TestIDNAMonkeyTest
X-SVN-Rev: 41526
This commit is contained in:
parent
7c28a58b1f
commit
b2b346c183
1 changed files with 1 additions and 1 deletions
|
@ -726,7 +726,7 @@ usprep_prepare( const UStringPrepProfile* profile,
|
|||
((result < _SPREP_TYPE_THRESHOLD) && (result & 0x01) /* first bit says it the code point is prohibited*/)
|
||||
){
|
||||
*status = U_STRINGPREP_PROHIBITED_ERROR;
|
||||
uprv_syntaxError(b1, b2Index-U16_LENGTH(ch), b2Len, parseError);
|
||||
uprv_syntaxError(b2, b2Index-U16_LENGTH(ch), b2Len, parseError);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue