Skip to content
  • Ondřej Surý's avatar
    Restore DbC checks in isc_refcount API · 49976947
    Ondřej Surý authored
    The isc_refcount API that provides reference counting lost DbC checks for
    overflows and underflows in the isc_refcount_{increment,decrement} functions.
    
    The commit restores the overflow check in the isc_refcount_increment and
    underflows check in the isc_refcount_decrement by checking for the previous
    value to not be on the boundary.
    49976947