[OpenSIPS-Devel] [OpenSIPS/opensips] 3292cd: ratelimit: fix buffer overflow when using SBT algo...

Razvan Crainea razvan at opensips.org
Thu Aug 31 08:41:56 EDT 2017


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3292cd9304b0c95a64de68eaef62412cb4db924c
      https://github.com/OpenSIPS/opensips/commit/3292cd9304b0c95a64de68eaef62412cb4db924c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-08-31 (Thu, 31 Aug 2017)

  Changed paths:
    M modules/ratelimit/ratelimit.c

  Log Message:
  -----------
  ratelimit: fix buffer overflow when using SBT algorithm

Make sure the window doesn't overflow
Fixes #1176

(cherry picked from commit d8854637e9329e7d6a52b87aa5cc4601450011c3)




More information about the Devel mailing list