[OpenSIPS-Devel] [OpenSIPS/opensips] cb42cd: F_MALLOC: Improve double free error reporting

Liviu Chircu liviu at opensips.org
Fri Mar 2 05:14:22 EST 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cb42cd23db798dfd13f5f18a6e769ae8d3811d5d
      https://github.com/OpenSIPS/opensips/commit/cb42cd23db798dfd13f5f18a6e769ae8d3811d5d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-02 (Fri, 02 Mar 2018)

  Changed paths:
    M mem/f_malloc.c

  Log Message:
  -----------
  F_MALLOC: Improve double free error reporting

(cherry picked from commit 9e9221802d51abe6fcb5bfadc51cbd75cbbf3658)


  Commit: bb4db566a314c75ceec2274c57e07a4074383d71
      https://github.com/OpenSIPS/opensips/commit/bb4db566a314c75ceec2274c57e07a4074383d71
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-02 (Fri, 02 Mar 2018)

  Changed paths:
    M mem/f_malloc.c

  Log Message:
  -----------
  F_MALLOC: Fix "last free" line reports when debugging

If -DBG_MALLOC is in use, double free operations would report the
"first free" to actually be the malloc operation, which is incorrect.

(cherry picked from commit 234cf3967c7f6adf138a5b873e5f6d7040eba4df)


Compare: https://github.com/OpenSIPS/opensips/compare/b413c7ae1018...bb4db566a314


More information about the Devel mailing list