Actions
Bug #2762
closedlighttpd version 1.4.43 crashes with active scgi mapping
ASK QUESTIONS IN Forums:
Description
The current version 1.4.43 crashes if
- scgi module is loaded
server.modules += ( "mod_scgi" )
- at least one mapping of an url to scgi is configured:
scgi.server = ( "/abcd/" =>
Lighttpd segfaults on any url, even if the requsted url is not the for scgi configured one (e.g. /abcd/).
The same configuration worked (ant still works) with version 1.4.42 and lower.
GDB backtrace:
Program received signal SIGSEGV, Segmentation fault. scgi_check_extension (srv=0x5555557a3c20, con=0x55555587fde0, p_d=0x555555861a50, uri_path_handler=<optimized out>) at mod_scgi.c:2702 2702 mod_scgi.c: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 scgi_check_extension (srv=0x5555557a3c20, con=0x55555587fde0, p_d=0x555555861a50, uri_path_handler=<optimized out>) at mod_scgi.c:2702 #1 0x0000555555575e23 in plugins_call_handle_uri_clean (srv=srv@entry=0x5555557a3c20, con=con@entry=0x55555587fde0) at plugin.c:330 #2 0x0000555555561713 in http_response_prepare (srv=srv@entry=0x5555557a3c20, con=con@entry=0x55555587fde0) at response.c:401 #3 0x0000555555563f0a in connection_state_machine (srv=0x5555557a3c20, con=0x55555587fde0) at connections.c:1180 #4 0x000055555555f256 in main (argc=<optimized out>, argv=<optimized out>) at server.c:1817
Updated by stbuehler about 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset 5e3653dc5d00647d32d3553b639b0e195ec839f9.
Updated by flynn about 8 years ago
I have tested it, works without segfault now!
Updated by stbuehler about 8 years ago
- Has duplicate Bug #2764: mod_scgi regression; NULL ptr deference in 1.4.43 added
Actions
Also available in: Atom