Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cedbe011a7b746ecf8e35e113993516adae1e592
      
https://github.com/OpenSIPS/opensips/commit/cedbe011a7b746ecf8e35e113993516adae1e592
  Author: Bogdan-Andrei Iancu <bog...@opensips.org>
  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
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to