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

Liviu Chircu liviu at opensips.org
Fri Mar 2 05:10:55 EST 2018


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


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


Compare: https://github.com/OpenSIPS/opensips/compare/d98f115ec9b9...234cf3967c7f


More information about the Devel mailing list