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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8332714f95a289eb905a7a859a14d80faf616d63
      https://github.com/OpenSIPS/opensips/commit/8332714f95a289eb905a7a859a14d80faf616d63
  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