[OpenSIPS-Devel] [OpenSIPS/opensips] dd2071: Fix overflow when using large number of GW per rule

Bogdan Andrei IANCU noreply at github.com
Wed Jan 8 12:12:29 EST 2020


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dd2071032fc9659bfdde11a14e5533aca4ec06c5
      https://github.com/OpenSIPS/opensips/commit/dd2071032fc9659bfdde11a14e5533aca4ec06c5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix overflow when using large number of GW per rule

Instead of fix-size internal buffer, user self-scaling buffers for handling/sorting the destinations/gateways in rules and carriers.
Fixes #1910

Cherry pick from e5991e1af5ca6eeb92940334da0a1cc31993ea7d





More information about the Devel mailing list