/mandos/trunk

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

« back to all changes in this revision

Viewing changes to plugin-runner.conf

  • Committer: Teddy Hogeborn
  • Date: 2009-02-12 18:56:52 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090212185652-ast00yprt2pe2l4p
Overflows are not detected by sscanf(), so stop using it:

* plugin-runner.c (main/parse_opt): Change from using "sscanf()" to
                                    "strtoimax()".
* plugins.d/mandos-client.c (main/parse_opt, main): Change from using
                                                    "sscanf()" to
                                                    "strtoimax()" and
                                                    "strtof()".
* splashy.c (main): Change from using "sscanf()" to "strtoimax()".
* usplash.c (main): - '' -

Show diffs side-by-side

added added

removed removed

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