HomeClusterLabs Projects

Fix: libcrmcommon: avoid possible buffer overflow in pcmk__time_format_hr()

Description

Fix: libcrmcommon: avoid possible buffer overflow in pcmk__time_format_hr()

Also add a unit test.

Thanks to Adam Korczynski <Adam@Adalogics.com> and the OSS-Fuzz project for
finding and reporting the issue.

Details

Provenance
kgaillotAuthored on May 15 2024, 1:23 PM
Parents
rP268005543de8: Test: libcrmcommon: add convenience function for enabling unit test logging
Branches
Unknown
Tags
Unknown