processes plugin: Fixed a segfault when handling unknown config options.
authorSebastian Harl <sh@tokkee.org>
Fri, 5 Dec 2008 16:11:16 +0000 (17:11 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 6 Dec 2008 08:58:48 +0000 (09:58 +0100)
commit0e738514446d5d75df725020137047f7ce5a125a
tree75e44d079ab59882d414889ed2aa8c69d3a46698
parent37b233846620c200626518416e175bb317865a4b
processes plugin: Fixed a segfault when handling unknown config options.

When using STATIC_ARRAY_SIZE() to determine the number of config keys, the
list must not include NULL. Else, the configfile module will handle that as
another config key and dereference it in case no previous key matched, i.e.
when handling unknown config options.
src/processes.c