[OpenSIPS-Devel] [OpenSIPS/opensips] b75703: usrloc: make next_hop point within the shared buffer
noreply at github.com
Fri Mar 29 12:47:09 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
(cherry picked from commit e162f5f1024f8dad4bf5554600aa25183fcf92fc)
More information about the Devel