[OpenSIPS-Devel] [OpenSIPS/opensips] 5386bb: clusterer: fix possible crash when sending a bin p...
Vlad Pătrașcu
noreply at github.com
Wed Aug 21 07:39:33 EDT 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 5386bb7a48cc62b7930788471b82756a6e2aea3d
https://github.com/OpenSIPS/opensips/commit/5386bb7a48cc62b7930788471b82756a6e2aea3d
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M modules/clusterer/clusterer.c
M modules/clusterer/clusterer_mod.c
M modules/clusterer/node_info.c
M modules/clusterer/sync.c
Log Message:
-----------
clusterer: fix possible crash when sending a bin packet
This commit fixes a crash caused by a race condition when computing
the next hop for a destination before sending a bin packet.
The actual 'next_hop' field from the 'node_info_t' struct may be changed by
another process after getting the return code from the 'get_next_hop_2()'
function.
More information about the Devel
mailing list