Project

General

Profile

Bug #2065

core dumped on duplicate "else conditions"

Added by moo over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
2009-09-10
Due date:
% Done:

100%

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

Revision 2640 (diff)
Added by stbuehler over 6 years ago

Fix segfault on invalid config "duplicate else conditions" (fixes #2065)

Revision 0bd06a96 (diff)
Added by stbuehler over 6 years ago

Fix segfault on invalid config "duplicate else conditions" (fixes #2065)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2640 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler over 6 years ago

  • Target version changed from 1.4.x to 1.4.24

#2 Updated by stbuehler over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2640.

#3 Updated by stbuehler over 6 years ago

  • Missing in 1.5.x set to No

Also available in: Atom