[OpenSIPS-Devel] [OpenSIPS/opensips] a56726: F_MALLOC: add extra safety checks at runtime

Razvan Crainea razvan at opensips.org
Wed Apr 1 13:33:04 CEST 2015


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a567268813a2accefe67b55b595af6d6d825c680
      https://github.com/OpenSIPS/opensips/commit/a567268813a2accefe67b55b595af6d6d825c680
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M Makefile.conf.template
    M error.h
    M mem/mem.h
    M mem/shm_mem.h

  Log Message:
  -----------
  F_MALLOC: add extra safety checks at runtime

The F_MALLOC allocator now properly reports any free() or realloc() operations
which are performed on bogus memory regions, making OpenSIPS immediately abort.

These checks may be skipped by defining F_MALLOC_OPTIMIZATIONS at compile time.

(cherry picked from commit 35935051fab41b9a86f622e5fcdb852cf49ae742)


  Commit: 552a5b621489521b2137f2ef95db033270ad9704
      https://github.com/OpenSIPS/opensips/commit/552a5b621489521b2137f2ef95db033270ad9704
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M error.h

  Log Message:
  -----------
  add LM_BUG alias to report_programming_bug

(cherry picked from commit 9620397683c859cd313781e8864ceb5ed9b5c3d8)


Compare: https://github.com/OpenSIPS/opensips/compare/100bfb9c4a3d...552a5b621489


More information about the Devel mailing list