HomeClusterLabs Projects

Fix: libcrmcommon: Prevent a segfault in pcmk__cmdline_preproc.

Description

Fix: libcrmcommon: Prevent a segfault in pcmk__cmdline_preproc.

The list of special single-character args is optional. The function
currently handles it being an empty string, but it should handle a NULL
as well.

Details

Provenance
clumensAuthored on Nov 2 2020, 2:55 PM
Parents
rPd048b11453c2: Merge pull request #2209 from clumens/fo-args
Branches
Unknown
Tags
Unknown

Event Timeline