[OpenSIPS-Devel] [OpenSIPS/opensips] e162f5: usrloc: make next_hop point within the shared buffer
noreply at github.com
Fri Mar 29 12:38:26 EDT 2019
Author: Razvan Crainea <razvan at opensips.org>
Date: 2019-03-29 (Fri, 29 Mar 2019)
usrloc: make next_hop point within the shared buffer
Before this commit, the `next_hop` fields returned by
`get_domain_*_ucontacts()` were pointing to a shared memory, that might
dissapear when the contact is gone, resulting in a crash.
This patch re-points the `next_hop.name` field within the buffer.
Crash reported in ticket #1652
More information about the Devel