[OpenSIPS-Devel] [OpenSIPS/opensips] 5392ea: params: initialize expanded parameters
Răzvan Crainea
noreply at github.com
Tue Mar 28 07:20:37 UTC 2023
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 5392ea0d15d962ef09ee3c06028d6daa621ad9fa
https://github.com/OpenSIPS/opensips/commit/5392ea0d15d962ef09ee3c06028d6daa621ad9fa
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