[OpenSIPS-Devel] [OpenSIPS/opensips] 16f521: params: initialize expanded parameters

Răzvan Crainea noreply at github.com
Tue Mar 28 07:20:15 UTC 2023

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16f5212d865fd75ca6f519381358e031ca9a10e2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M action.c

  Log Message:
  params: initialize expanded parameters

Also, do not indicate that an INT also has a STR value if it doesn't,
because other functions might try to evaluate it; and combined with the
lack of initialization, it might end up reading whatever leftovers are
in the `.rs` field, posibly leading to a crash.

Many thanks to Nick Altmann for reporting this and Liviu Chircu for
testing and support :)

More information about the Devel mailing list