[OpenSIPS-Devel] [OpenSIPS/opensips] 4b218a: stir_shaken: fix pkg_memleak of params parsing

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


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b218ad2d7f7bac83cbf7ccf0330efb80e39091a
      https://github.com/OpenSIPS/opensips/commit/4b218ad2d7f7bac83cbf7ccf0330efb80e39091a
  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