[OpenSIPS-Devel] [OpenSIPS/opensips] c02292: core: Fix poor oom handling

Liviu Chircu liviu at opensips.org
Mon Sep 17 10:21:42 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c022921c6288455742b4b618537e91c35fea2a02
      https://github.com/OpenSIPS/opensips/commit/c022921c6288455742b4b618537e91c35fea2a02
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-09-17 (Mon, 17 Sep 2018)

  Changed paths:
    M dset.c

  Log Message:
  -----------
  core: Fix poor oom handling

When nearing oom, any failed branch buffer allocations could lead to a
crash due to a lingering freed pointer.

Thanks to Răzvan for helping catch this one!

(cherry picked from commit c2f8b9807837bd8dd143a33cb555b050fb7a8d72)



      **NOTE:** This service has 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