author | Florian Forster <octo@collectd.org> | |
Sun, 24 Feb 2013 09:33:51 +0000 (10:33 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 24 Feb 2013 09:33:51 +0000 (10:33 +0100) | ||
commit | 9effaec7a35cf426a4cd423ec8200807be07c1fd | |
tree | a1d2d395ab9c791ce011196aadee310fe9c7e2ad | tree | snapshot |
parent | 0356eb4e9284425d61c63ea0c2004b8a6e2f5d45 | commit | diff |
src/utils_rrdcreate.c: Lock files to be created.
This works around an issue where RRDtool crashes due to two threads
trying to create the same file at the same time. This shouldn't happen
in normal operation, but an attacker could cause this, e.g. with
specially crafted network packets.
This works around an issue where RRDtool crashes due to two threads
trying to create the same file at the same time. This shouldn't happen
in normal operation, but an attacker could cause this, e.g. with
specially crafted network packets.
src/utils_rrdcreate.c | diff | blob | history |