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

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


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a9d07b55fd048a48ac13e283c2fa9d6f3ceb7809
      https://github.com/OpenSIPS/opensips/commit/a9d07b55fd048a48ac13e283c2fa9d6f3ceb7809
  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 picked from commit e5991e1af5ca6eeb92940334da0a1cc31993ea7d)





More information about the Devel mailing list