[OpenSIPS-Devel] [OpenSIPS/opensips] e37bf4: ratelimit: make rl_feedback_limit extern

Răzvan Crainea noreply at github.com
Fri Nov 1 09:45:51 EDT 2019

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e37bf42b516d23d4dd11e690b0045595f1ab784f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  ratelimit: make rl_feedback_limit extern

Make sure `rl_feedback_limit` is properly alocated for the entire
module, not only for the current object.

Fixes the crash reported by Ben Newlin. Close #1882

(cherry picked from commit 8f26f5aa501dfad69e50c2bedcd4325afe7b1508)

More information about the Devel mailing list