Bug #1755

specifying config-file twice crashes lighttpd

Added by Anonymous 140 days ago. Updated 72 days ago.

Status:New Start:
Priority:Normal Due date:
Assigned to:jan % Done:

0%

Category:core
Target version:-
Pending:

No

Resolution:

Patch available:


Description

I accidentally wrote a script which runs the command
lighttpd -f lighttpd.conf -f lighttpd.conf.
Instead of providing any useful feedback about nonsensical arguments lighttpd crashes with error message ''Assertion failed: (context.all_configs->used == 0), function config_read, file configfile.c, line 991.''

-- opottone

lighttpd-1.4.20-1755.diff (716 Bytes) ralf, 10/27/2008 06:09 PM

History

10/27/2008 06:09 PM - ralf

Anonymous wrote:

I accidentally wrote a script which runs the command lighttpd -f lighttpd.conf -f lighttpd.conf. Instead of providing any useful feedback about nonsensical arguments lighttpd crashes with error message ''Assertion failed: (context.all_configs->used == 0), function config_read, file configfile.c, line 991.''

my first patch, i hope i did the diff -kung-fu correctly ;)

Also available in: Atom PDF