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

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


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

(cherry picked from commit 375e9d4f0eba9ad2197ebf5da6c6e974bc7954ea)


  Commit: 475d574dd194e2aadee7ddb8dca11d3ae81b38ed
      https://github.com/OpenSIPS/opensips/commit/475d574dd194e2aadee7ddb8dca11d3ae81b38ed
  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

(cherry picked from commit 61a5a673ff361943bb099c6553b55bf13b8c1fe3)


Compare: https://github.com/OpenSIPS/opensips/compare/3554bd5e757d...475d574dd194
      **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