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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1bc4247d8cb9aa08e4a1831ab1a32fb012ea84bb
      https://github.com/OpenSIPS/opensips/commit/1bc4247d8cb9aa08e4a1831ab1a32fb012ea84bb
  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: fb89fc0b6eec91d3f7d0e835b858c18cca3419c7
      https://github.com/OpenSIPS/opensips/commit/fb89fc0b6eec91d3f7d0e835b858c18cca3419c7
  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/7d0d5f2ce7ac...fb89fc0b6eec


More information about the Devel mailing list