HomeClusterLabs Projects

Test: libcrmcommon: Trigger overflow properly for crm_get_msec()
3c6f104b78afUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Test: libcrmcommon: Trigger overflow properly for crm_get_msec()

This was an off-by-one. The number in the overflow input was LLONG_MAX.
That's not an overflow and doesn't cause ERANGE.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 21 2025, 5:09 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.