Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 40c2e94efd4a527432b55b797006d5eabfc792dc
https://github.com/OpenSIPS/opensips/commit/40c2e94efd4a527432b55b797006d5eabfc792dc
Author: Bogdan-Andrei Iancu <[email protected]>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M modules/dns_cache/dns_cache.c
Log Message:
-----------
[dns_cache] Fix restoring IP array in hostend struct
When restoring (from cache) a hostend structure, be sure you end the "aliases"
and "addresses" arrays with a NULL element.
Without that NULL terminator, when doing DNS-based failover on a cached
hostend, OpenSIPS will use garbage IPs from the addresses array.
(cherry picked from commit 7d31fef29eefca30a8b8be668eebf1694e4df4a5)
To unsubscribe from these emails, change your notification settings at
https://github.com/OpenSIPS/opensips/settings/notifications
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel