Improve memory management in the locale code (ICU 75)

Description

Follow-up to ticket ICU-21289: The memory management in the locale code has been cleaned up considerably, but there are still further improvements that could be done in these areas:

  1. Fixed size buffers should never be used for anything that doesn't have a well-defined maximum length.

  2. Reliance on NUL terminated strings should be reduced to where it's necessary and/or meaningful.

  3. Unnecessary copying should be avoided.

Activity

Show:

Fredrik Roubert March 18, 2024 at 5:43 PM

Closing this for ICU 75, further work for ICU 76 tracked by ICU-22696.

Fredrik Roubert February 29, 2024 at 5:54 PM

No, this is not yet done, currently PR #2824 is pending in review.

Markus Scherer February 26, 2024 at 7:47 PM

this is done, right?

Fixed

Details

Assignee

Reporter

Components

Reviewer

Priority

Time Needed

Weeks

Fix versions

Created September 27, 2023 at 12:54 PM
Updated April 15, 2024 at 11:00 PM
Resolved April 15, 2024 at 11:00 PM