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

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


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



      **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