[OpenSIPS-Devel] [OpenSIPS/opensips] 588bb6: Fixed cloning of hostend structs.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Dec 3 12:20:15 EST 2018

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 588bb645045f9b79aec57c5c24436e97f54a8c66
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  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.

More information about the Devel mailing list