diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-02-23 15:48:53 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-02-23 14:56:53 -0600 |
commit | 0f4b349d371141316d7237488b57d58c2276ee42 (patch) | |
tree | cbaff75d89ad52c48188736d26d5e58f3d1aa945 /main/devicestate.c | |
parent | 25688ab79743dd31a1db2e0d7eeb3dc9443bf94b (diff) |
res_config_pgsql: Fix thread safety problems
* A missing AST_LIST_UNLOCK() in find_table()
* The ESCAPE_STRING() macro uses pgsqlConn under the hood and we were
not consistently locking before calling it.
* There were a handful of other places where pgsqlConn was accessed
directly without appropriate locking.
Change-Id: Iea63f0728f76985a01e95b9912c3c5c6065836ed
Diffstat (limited to 'main/devicestate.c')
0 files changed, 0 insertions, 0 deletions