/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugin-runner.conf

  • Committer: Teddy Hogeborn
  • Date: 2019-04-08 21:53:22 UTC
  • mto: This revision was merged to the branch mainline in revision 382.
  • Revision ID: teddy@recompile.se-20190408215322-y3hmfxzdgs9t84l1
plugin-runner: Fix minor memory leak

* plugin-runner.c (free_plugin): Even if argv[0] is NULL, as for the
                                 pseudo-plugin for global options,
                                 free all other arguments by simply
                                 starting at argv[1] and freeing
                                 plugin_node->name (which is always
                                 argv[0]) separately.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## This is the configuration file for plugin-runner(8mandos).  This
 
2
## file should be installed as "/etc/mandos/plugin-runner.conf", and
 
3
## will be copied to "/conf/conf.d/mandos/plugin-runner.conf" in the
 
4
## initrd.img file.
 
5
##
 
6
## After editing this file, the initrd image file must be updated for
 
7
## the changes to take effect!
 
8
 
 
9
## Example:
 
10
#--options-for=mandos-client:--debug