HomeClusterLabs Projects

Low: crm_get_msec: prevent integer overflow

Description

Low: crm_get_msec: prevent integer overflow

Before, for instance (unlikely): 9223372036854775807s -> -1000

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Mar 28 2014, 11:30 AM
Parents
rPdce6161cfae3: Merge pull request #471 from AnchorCat/shadow-reset
Branches
Unknown
Tags
Unknown

Event Timeline