DateTimePatternGenerator does not handle OOM situations.

Description

Not all usages of `operator new` are checked for OOM in `void PatternMap::add` which can lead to null pointer deferences later on in code like `icu:atternMap::getPatternFromSkeleton`.

For example, the `PtnElem` is checked, but not the `PtnSkeleton`:

Assignee

Jeff Genovy

Reporter

Jeff Genovy

Components

Labels

Reviewer

William Zhao

Priority

medium

Time Needed

None

Fix versions

Configure