[OpenSIPS-Devel] [OpenSIPS/opensips] 375e9d: fraud_detection: Fix badly handled corner cases

Liviu Chircu liviu at opensips.org
Fri Jun 15 12:53:18 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 375e9d4f0eba9ad2197ebf5da6c6e974bc7954ea
      https://github.com/OpenSIPS/opensips/commit/375e9d4f0eba9ad2197ebf5da6c6e974bc7954ea
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_hashmap.c
    M modules/fraud_detection/frd_stats.c

  Log Message:
  -----------
  fraud_detection: Fix badly handled corner cases

    * do not segfault on oom (get_stats() returns NULL)
    * do not deadlock when failing to fetch the time
    * do not segfault when failing to create a dialog
    * do not return success on failed allocations + logic
    * do not leak memory on oom failures


  Commit: 61a5a673ff361943bb099c6553b55bf13b8c1fe3
      https://github.com/OpenSIPS/opensips/commit/61a5a673ff361943bb099c6553b55bf13b8c1fe3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M modules/sngtc/sngtc.c
    M parser/sdp/sdp.c
    M parser/sdp/sdp.h

  Log Message:
  -----------
  sngtc: Fix compile errors

Reported by @cbsergiocf
Fixes #1392


Compare: https://github.com/OpenSIPS/opensips/compare/844dbcb2bc0c...61a5a673ff36
      **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