Summary: | mod_lua causes segfault on some requests. | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Sean Conner <sean> |
Component: | Other Modules | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | CLOSED FIXED | ||
Severity: | normal | Keywords: | FixedInTrunk |
Priority: | P2 | ||
Version: | 2.5-HEAD | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Possible patch for bug 49044 |
Description
Sean Conner
2010-04-04 05:07:23 UTC
Created attachment 25227 [details] Possible patch for bug 49044 More details: the ap_lua_vm_spec objects stored in cfg->mapped_handlers->elts (see lua_alias_munger() in mod_lua.c) weren't properly initialized and were handing off bogus values to the rest of the system. The supplied patch ensures that the ap_lua_vm_spec objects stored in the cfg->mapped_handlers have known values and won't blow up the system. I think I fixed this a few days ago, sorry hadn't noticed the bug report until now. Can you try and see if you still hit the problem? (In reply to comment #3) > I think I fixed this a few days ago, sorry hadn't noticed the bug report until > now. Can you try and see if you still hit the problem? Where can I grab the latest sources? On the Apache download page I only see 2.3.5-alpha (from January) available for downloading (which is what I currently have). You can extract from subversion per http://httpd.apache.org/dev/devnotes.html or grab a snapshot at http://cvs.apache.org/snapshots/httpd/ Grabbed the latest version from SVN. It works. Thanks. Thanks, closing this bug. |