[OpenSIPS-Devel] [OpenSIPS/opensips] 50e21b: drouting: fix type crash for goes_to_gw()

Răzvan Crainea noreply at github.com
Tue Nov 12 05:17:34 EST 2019

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

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  drouting: fix type crash for goes_to_gw()

When goes_to_gw() was not called with type parameter, OpenSIPS was
crashing, due to the fact that it was dereffering -1.
This bug was introduced in 568675291e and f37527dcf

More information about the Devel mailing list