summaryrefslogtreecommitdiffstats
path: root/src/service.h
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2019-07-03 15:18:56 -0400
committerFrédéric Brière <fbriere@fbriere.net>2019-07-03 16:21:09 -0400
commitcedd7a19a4fb415031b97592129214d2163563aa (patch)
tree2c53c29f96a0fc490c2baef1bfeaecee35a37de2 /src/service.h
parent05082ae12051821b1d969e6672d9e4e5afe1bc07 (diff)
downloadtwinkle-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/service.h')
0 files changed, 0 insertions, 0 deletions