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

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


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a0f1e79d2aef85b6fea966a54b777354099fa57
      https://github.com/OpenSIPS/opensips/commit/3a0f1e79d2aef85b6fea966a54b777354099fa57
  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