[OpenSIPS-Devel] [OpenSIPS/opensips] c30017: sip_i: fix crash for numbers longer than 15 digits

Vlad Patrascu vladp at opensips.org
Mon May 7 12:40:35 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c30017b708a630ee5dc9f657f98e901ba4e6b718
      https://github.com/OpenSIPS/opensips/commit/c30017b708a630ee5dc9f657f98e901ba4e6b718
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-05-07 (Mon, 07 May 2018)

  Changed paths:
    M modules/sip_i/sip_i.c
    M modules/sip_i/sip_i.h

  Log Message:
  -----------
  sip_i: fix crash for numbers longer than 15 digits

Mapping the Called Party number or Calling Party number for IAM by default
could cause a stack smashing for numbers longer than 15 digits (E.164 limit).

Fixes #1348

(cherry picked from commit 47e5c47d3bb2ad7999a14b80d6412866d90493c9)



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