[OpenSIPS-Devel] [OpenSIPS/opensips] f77ad2: fraud_detection: Fix badly handled corner cases
    Liviu Chircu 
    liviu at opensips.org
       
    Fri Jun 15 12:54:48 EDT 2018
    
    
  
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f77ad26d1bb940b0e8dcbc5d8ca127b3696a8c6e
      https://github.com/OpenSIPS/opensips/commit/f77ad26d1bb940b0e8dcbc5d8ca127b3696a8c6e
  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: 3deb0c2f14740e87f24c330a1838fbb50bce3698
      https://github.com/OpenSIPS/opensips/commit/3deb0c2f14740e87f24c330a1838fbb50bce3698
  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/c7e912bee4bf...3deb0c2f1474
      **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