[OpenSIPS-Devel] [OpenSIPS/opensips] 17bde3: stir_shaken: fix pkg_memleak of params parsing

Răzvan Crainea noreply at github.com
Mon Jul 5 14:01:13 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 17bde34d7c31066a3f996acd9b35939447888b9c
      https://github.com/OpenSIPS/opensips/commit/17bde34d7c31066a3f996acd9b35939447888b9c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: fix pkg_memleak of params parsing

do not change the `params` while iterating through the list, as it will
prevent `free_params` from releasing the list
Thakns go to Nick Altmann for reporting and testing the fix

(cherry picked from commit 2b0dde30258da947b023737338f165dfa44a135d)





More information about the Devel mailing list