commit | eb3e276d3911c4c95d1e2f270bab354440378701 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Dec 08 09:17:39 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 08 10:37:24 2017 +0100 |
tree | 2f3f9748402f432a078b1bd8d28cfc85fbfb7055 | |
parent | 1714b9f28694d750d446917672dd59c46e16afd7 [diff] |
BUG/MEDIUM: threads/vars: Fix deadlock in register_name In register_name, before locking the var_names array, we check the variable name validity. So if we try to register an invalid or empty name, we need to return without unlocking it (because it was never locked). This patch must be backported in 1.8.