Skip to content

Conversation

@AZero13
Copy link
Contributor

@AZero13 AZero13 commented Dec 27, 2025

The ICU function ulistfmt_format returns the required buffer length.
If the required length is greater than the buffer we provided (RESULT_BUFFER_SIZE, which is 768), then truncation occurred (or would occur).

Therefore, the check must be length > RESULT_BUFFER_SIZE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant