]> git.ipfire.org Git - thirdparty/collectd.git/commit
fix: df plugin: Fix an array out of bounds crash. 4252/head
authorFlorian Forster <octo@collectd.org>
Wed, 24 Jan 2024 14:08:14 +0000 (15:08 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 24 Jan 2024 14:08:14 +0000 (15:08 +0100)
commitbfd25a4a46cda204d759a62269f198ad0354ca23
tree46cb40fd7bf3bca59aad2360c80f09267a4be34a
parent21715818a70889e69640f48558e8565da5a1f857
fix: df plugin: Fix an array out of bounds crash.

The second argument of the `for` loop always evaluated to true, causing the
code to read past the end of the array.

ChangeLog: df plugin: An out of bounds read, causing segmentation faults, has been fixed.
src/df.c