We're updating the issue view to help you get more done. 

ICU4C DecimalFormat crashes when parsing very long number

Description

Code to reproduce:

1 2 3 4 5 6 7 8 9 10 LocalPointer<NumberFormat> nf(NumberFormat::createInstance(EN, status)); Formattable result; static const char16_t* bigString = u"111111111111111111111111111111111111111111111111111111111111111111111" u"111111111111111111111111111111111111111111111111111111111111111111111" u"111111111111111111111111111111111111111111111111111111111111111111111" u"111111111111111111111111111111111111111111111111111111111111111111111" u"111111111111111111111111111111111111111111111111111111111111111111111" u"111111111111111111111111111111111111111111111111111111111111111111111"; nf->parse(bigString, result, status);

I have a fix ready to commit.

Status

Assignee

Shane Carr

Reporter

Shane Carr

Labels

Components

Fix versions

Priority

critical