[OpenSIPS-Devel] [OpenSIPS/opensips] 423d69: sip_i: fix error handling when PAI number is too l...

Vlad Patrascu vladp at opensips.org
Thu Jun 21 13:10:39 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 423d6907c90dc544446c510472ee69808ae58536
      https://github.com/OpenSIPS/opensips/commit/423d6907c90dc544446c510472ee69808ae58536
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: fix error handling when PAI number is too long

When mapping parameters to ISUP by default, a P-Asserted-Identity number
longer than 15 digits would cause an infinite loop in the worker process
until running out of memory.

Also raised the logging level(to INFO) of some useful messages when unable
to map ISUP parameters by default.

Thanks to Rinor Hoxha for reporting.

Closes #1390

(cherry picked from commit cfc9efec63322beac3f2f760f7a94f345893c174)



      **NOTE:** This service 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