HomeClusterLabs Projects

Fix: libcrmcommon: Don't segfault in text_begin_list.

Description

Fix: libcrmcommon: Don't segfault in text_begin_list.

If the singular_noun or plural_noun arguments are NULL, calling strdup
will result in a segfault. It's possible for these to be NULL -
text_end_list allows for that. So guard against the segfault.

Details

Provenance
clumensAuthored on May 1 2019, 4:34 PM
Parents
rP8e851b08482e: Merge pull request #1764 from kgaillot/2.0
Branches
Unknown
Tags
Unknown

Event Timeline