summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from: f7f4cc1)
raw | patch | inline | side by side (from: f7f4cc1)
author | Florian Forster <octo@collectd.org> | |
Fri, 3 Feb 2012 09:54:58 +0000 (10:54 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 3 Feb 2012 09:54:58 +0000 (10:54 +0100) |
wg_send_buffer() is called from wg_flush_nolock(). When calling
wg_flush_nolock(), the thread has to hold cb->send_lock. Locking it again
will fail, but this condition is not checked for. Then the lock is
released twice which may result in concurrency issues.
Change-Id: Ie3062d50e6545adeb95b3a1938837c1f26835a56
wg_flush_nolock(), the thread has to hold cb->send_lock. Locking it again
will fail, but this condition is not checked for. Then the lock is
released twice which may result in concurrency issues.
Change-Id: Ie3062d50e6545adeb95b3a1938837c1f26835a56
No differences found