[OpenSIPS-Devel] [OpenSIPS/opensips] 9f3e47: Fixed uninit len for th_contact_encode_passwd param.
Bogdan Andrei IANCU
noreply at github.com
Sat Feb 2 13:08:41 EST 2019
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 9f3e477e10f6e6e3e6b8f6762b05f75bd5730762
https://github.com/OpenSIPS/opensips/commit/9f3e477e10f6e6e3e6b8f6762b05f75bd5730762
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-02-02 (Sat, 02 Feb 2019)
Changed paths:
M modules/topology_hiding/topology_hiding.c
Log Message:
-----------
Fixed uninit len for th_contact_encode_passwd param.
As the used len was all the time 10 (the len of the default passwd), if you have set a shorter one, the actual used passwd has some trailing memory garbage (up to 10 char len). This grabage could be (99.999%) constant during runtime, but 100% different after a restart. Shorly, the decoding on ongoing contact would have failed after a restart.
(cherry picked from commit 4a17a828861feb6be07f67103ad352e7d8c817f6)
More information about the Devel
mailing list