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

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

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

Bogdan-Andrei Iancu-2
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5f1ec371b00b0bf8e16e37b94b010517572e88e5
      https://github.com/OpenSIPS/opensips/commit/5f1ec371b00b0bf8e16e37b94b010517572e88e5
  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.



      **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]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel