Android 6.0.1 release 73
IDN: Fix handling of long domain names.

Fix merge conflict into mnc-mr1-release
We were incorrectly using sizeof() to calculate the size of the
output array. Note that this change also changes the output size
to 512 to minimize behavioural differences (especially wrt. ICU
checks on sizes).

bug: 30765246
Change-Id: I5d28ddc45d2d6d2bed3e479ca195ed2779b906ed
(cherry picked from commit a1e0873bd8ab79f64296d1103a4e9e7ee6a5bbb7)
2 files changed