hugepages plugin: Don't use pathconf(_PC_NAME_MAX).
authorFlorian Forster <octo@collectd.org>
Mon, 5 Sep 2016 08:35:22 +0000 (10:35 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 14 Sep 2016 18:28:58 +0000 (20:28 +0200)
Since we allocate the buffer on the stack, this doesn't make sense:
Best case, the returned value is the same as the PATH_MAX define. Worst
case, the returned value is larger and we create a stack overflow.


No differences found