author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 4 Dec 2015 18:09:28 +0000 (19:09 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 07:41:03 +0000 (08:41 +0100) | ||
commit | be7860449c290ec30458a514d36f3bee2a56991b | |
tree | 6b0176db14134b4c52b1c1b557a77eae3e967ae2 | tree | snapshot |
parent | 74fa9577b1acbb965488aa0a48c140d8ece437bf | commit | diff |
teamspeak2: fix potential use after close
If connecting to the last host fails, we exit the loop
with a closed fd, which we try to fdopen() later on.
CID #38038
Signed-off-by: Florian Forster <octo@collectd.org>
If connecting to the last host fails, we exit the loop
with a closed fd, which we try to fdopen() later on.
CID #38038
Signed-off-by: Florian Forster <octo@collectd.org>
src/teamspeak2.c | diff | blob | history |