Bug #2065
core dumped on duplicate "else conditions"
| Status: | Fixed | Start date: | 2009-09-10 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% | |
| Category: | core | |||
| Target version: | 1.4.24 | |||
| Missing in 1.5.x: | No |
Description
$HTTP["host"] == "test.example.com" {
}
else $HTTP["host"] == "test.example.com" {
}
./lighttpd -Df lighttpd.conf.tmp
with debug build:
lighttpd: ../src/configparser.y:356: yy_reduce: Assertion `yymsp[-3].minor.yy78->context_ndx < yymsp[0].minor.yy78->context_ndx' failed.
with release build:
no error on start up, but when user request test.example.com lighttpd will segv
reproduced in branches/1.4.x/ and trunk/ at r2618
Associated revisions
Fix segfault on invalid config "duplicate else conditions" (fixes #2065)
History
#1 Updated by stbuehler over 3 years ago
- Target version changed from 1.4.x to 1.4.24
#2 Updated by stbuehler over 3 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r2640.
#3 Updated by stbuehler over 3 years ago
- Missing in 1.5.x set to No
Also available in: Atom