Bug #1755
specifying config-file twice crashes lighttpd
| 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
History
10/27/2008 06:09 PM - ralf
- File lighttpd-1.4.20-1755.diff added
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 ;)