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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d10a6e782b1d45ef476ee8042a02d382b882a767
      https://github.com/OpenSIPS/opensips/commit/d10a6e782b1d45ef476ee8042a02d382b882a767
  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: f4ee1c7618d7eba51fd0fb4ed11aacddce7400df
      https://github.com/OpenSIPS/opensips/commit/f4ee1c7618d7eba51fd0fb4ed11aacddce7400df
  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/98fb6fb6abe6...f4ee1c7618d7


More information about the Devel mailing list