[OpenSIPS-Devel] [OpenSIPS/opensips] 7f8d65: str2ip(): Do not reject IPs with leading '0' byte

Liviu Chircu liviu at opensips.org
Thu May 11 11:55:01 EDT 2017


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7f8d65e14981a7d3f4c705dd82d6a0734de2461c
      https://github.com/OpenSIPS/opensips/commit/7f8d65e14981a7d3f4c705dd82d6a0734de2461c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M resolve.h

  Log Message:
  -----------
  str2ip(): Do not reject IPs with leading '0' byte

This is useful in some code areas (e.g. allowing 0.0.0.0/0 "catch-all"
networks in the permissions module)

(cherry picked from commit c75a7ddcd190997e84e6aa1d54da37993135dc1d)


  Commit: af3667dbd25a004e115f35988d5a4c119bb9bc99
      https://github.com/OpenSIPS/opensips/commit/af3667dbd25a004e115f35988d5a4c119bb9bc99
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M scripts/opensipsctl.pgsql

  Log Message:
  -----------
  Proper fix for PostgreSQL login

Submitted by @volga629

(cherry picked from commit abd1e655f9816b44590d0f73dd309b30650b0b5e)


Compare: https://github.com/OpenSIPS/opensips/compare/bed86ea7e579...af3667dbd25a


More information about the Devel mailing list