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

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


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