[OpenSIPS-Devel] [OpenSIPS/opensips] 712db2: params: initialize expanded parameters
Răzvan Crainea
noreply at github.com
Tue Mar 28 07:20:23 UTC 2023
Branch: refs/heads/3.3
Home: https://github.com/OpenSIPS/opensips
Commit: 712db28511ff6070a72df81b9083a4562a981866
https://github.com/OpenSIPS/opensips/commit/712db28511ff6070a72df81b9083a4562a981866
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 :)
(cherry picked from commit 16f5212d865fd75ca6f519381358e031ca9a10e2)
More information about the Devel
mailing list