[OpenSIPS/opensips] 833271: Fixed cloning of hostend structs.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[OpenSIPS/opensips] 833271: Fixed cloning of hostend structs.

Bogdan-Andrei Iancu-2
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8332714f95a289eb905a7a859a14d80faf616d63
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2018-12-03 (Mon, 03 Dec 2018)

  Changed paths:
    M proxy.c

  Log Message:
  Fixed cloning of hostend structs.

The h_addr is only a #define to h_addr_list[0], leading to overwriting the new h_addr_list[0] with the old (src) value.

Credits to Dan Pascu (@danpascu) for reporting and assisting with the troubleshooting.

(cherry picked from commit 5f1ec371b00b0bf8e16e37b94b010517572e88e5)

      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

Devel mailing list
[hidden email]