[OpenSIPS-Devel] [OpenSIPS/opensips] 4a17a8: Fixed uninit len for th_contact_encode_passwd param.
Bogdan Andrei IANCU
noreply at github.com
Sat Feb 2 13:07:20 EST 2019
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 4a17a828861feb6be07f67103ad352e7d8c817f6
https://github.com/OpenSIPS/opensips/commit/4a17a828861feb6be07f67103ad352e7d8c817f6
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.
More information about the Devel
mailing list