ICU4C: NumberingSystem class doesn't handle OOM failures

Description

Not all code paths in the NumberingSystem class check for OOM failures.

This can lead to crashes in some cases as null pointers will be dereferenced without any checks.

For example, from the createInstance function, the new can fail leading to a crash on the next line.

Assignee

Jeff Genovy

Reporter

Jeff Genovy

Components

Labels

Reviewer

Andy Heninger

Priority

medium

Time Needed

None

Fix versions

Configure