diff options
author | Frédéric Brière <fbriere@fbriere.net> | 2019-07-03 15:18:56 -0400 |
---|---|---|
committer | Frédéric Brière <fbriere@fbriere.net> | 2019-07-03 16:21:09 -0400 |
commit | cedd7a19a4fb415031b97592129214d2163563aa (patch) | |
tree | 2c53c29f96a0fc490c2baef1bfeaecee35a37de2 /src/stun | |
parent | 05082ae12051821b1d969e6672d9e4e5afe1bc07 (diff) | |
download | twinkle-cedd7a19a4fb415031b97592129214d2163563aa.tar twinkle-cedd7a19a4fb415031b97592129214d2163563aa.tar.gz twinkle-cedd7a19a4fb415031b97592129214d2163563aa.tar.lz twinkle-cedd7a19a4fb415031b97592129214d2163563aa.tar.xz twinkle-cedd7a19a4fb415031b97592129214d2163563aa.zip |
Prevent recursive locking of phone_users_mtx in add_phone_user()
When encountering two users with the same contact name, attempting to
differentiate them using USER_HOST(), a.k.a. get_ip_sip(), would result
in EDEADLK since phone_users_mtx was already locked by add_phone_user().
Closes #88
Diffstat (limited to 'src/stun')
0 files changed, 0 insertions, 0 deletions