[OpenSIPS-Devel] [OpenSIPS/opensips] ea62ec: Fix preservation for the values of func params.

Bogdan Andrei IANCU noreply at github.com
Tue Apr 16 11:56:56 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ea62ec206ff15b9e44b01b99d659cdd59ab38b14
      https://github.com/OpenSIPS/opensips/commit/ea62ec206ff15b9e44b01b99d659cdd59ab38b14
  Author: Bogdan Iancu <bogdan at opensips.org>
  Date:   2019-04-16 (Tue, 16 Apr 2019)

  Changed paths:
    M mod_fix.c
    M mod_fix.h

  Log Message:
  -----------
  Fix preservation for the values of func params.

Some function may change the params (holders) during runtime, so it is better to provide a safety mechanism here. Simply copy the str/int into a temporaty holder for each function execution


  Commit: bbe4245321b1d2238b66f0fc91201b3341d53a4c
      https://github.com/OpenSIPS/opensips/commit/bbe4245321b1d2238b66f0fc91201b3341d53a4c
  Author: Bogdan Iancu <bogdan at opensips.org>
  Date:   2019-04-16 (Tue, 16 Apr 2019)

  Changed paths:
    M modules/uac/uac.c

  Log Message:
  -----------
  [uac] Fix param order and double free


Compare: https://github.com/OpenSIPS/opensips/compare/4c43cc86cfed...bbe4245321b1



More information about the Devel mailing list