author | Sebastian Harl <sh@tokkee.org> | |
Thu, 30 Oct 2008 15:27:37 +0000 (16:27 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 30 Oct 2008 15:39:18 +0000 (16:39 +0100) | ||
commit | 062a664da9fbf134f816a11f255ef90054a9de08 | |
tree | b724acc78d36a9a76d455973e2e45219053cae1d | tree | snapshot |
parent | 671b79940f4a187ffed28a720dc782208240f0b4 | commit | diff |
filecount plugin: Fixed an off-by-one error in the configuration code.
The memory allocated to store the information about configured directories did
not take into account the newly added directory. This would cause a segfault
at some point of time (when specifying more than four directories in my case).
Thanks to Martin Janota <janota.m@cce.cz> for finding and reporting this bug.
The memory allocated to store the information about configured directories did
not take into account the newly added directory. This would cause a segfault
at some point of time (when specifying more than four directories in my case).
Thanks to Martin Janota <janota.m@cce.cz> for finding and reporting this bug.
src/filecount.c | diff | blob | history |