[olsr-dev] BUG command line parsing "olsr -d" --> segfault

Jan-Willem Smaal (spam-protected)
Fri May 13 11:12:12 CEST 2005

The command-line parsing in OLSRD is not quite 'fool proof'.

[(spam-protected) olsrd-current]# ./olsrd -d
 *** olsr.org - 0.4.10-pre ***
 Build date: May 11 2005
Parsing file: "/etc/olsrd.conf"
Segmentation fault

Not a nice way to exit ;-).

Use of 'getopt()' and/or proper checking of presence of command-line 
arguments maybe usefull in:

olsr_process_arguments() in 'src/main.c'

J-W Smaal <(spam-protected)>

More information about the Olsr-dev mailing list