[OpenSIPS-Devel] [OpenSIPS/opensips] 9abf9f: load statistics: Fix an unsigned integer underflow...

Liviu Chircu noreply at github.com
Thu May 30 21:33:50 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9abf9fcf24fbb393a524f0288234c86fedb52a45
      https://github.com/OpenSIPS/opensips/commit/9abf9fcf24fbb393a524f0288234c86fedb52a45
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-05-31 (Fri, 31 May 2019)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  load statistics: Fix an unsigned integer underflow bug

This integer subtraction bug was leading to occasional, seamlessly
random load1m and load10m statistic spikes, for example:

4 2 0
4 2 0
4 3 59
4 3 0
5 3 0

(cherry picked from commit 0e40f6d46a635eae7b9587d71c49041802d6cc4b)





More information about the Devel mailing list