Daily Archives: October 7, 2009
mod_proxy_html bugfix 3.1.1
It’s always gratifying to get constructive feedback from users. That includes bug reports backed by sufficient information to make a diagnosis.
The bug I’ve just fixed today must’ve been there unreported[1] for years: the code in question is unchanged since 2004. It won’t affect most users, but it hits when ProxyHTMLMeta is On and parsing the <meta> tag fails, which can happen due to capitalisation. And it’s serious: it dereferences a null pointer and segfaults!
This is sufficiently serious to merit an immediate new bugfix release, 3.1.1, which should be published within a few hours. Thanks to user Jie Gao for reporting the bug and supplying a perfect test case!
While I’m on the subject, another user pointed out that 3.x won’t compile on Apache 2.0 for a trivial reason. While 2.0 support isn’t really a priority any more (Apache 2.0 users can of course run mod_proxy_html 2.5), I don’t want to break it gratuitously. So I fixed that too. (I made a corresponding fix in mod_xml2enc in svn, but that doesn’t call for a new release).
[1] or if there were reports that trace back to this, they were too vague to be useful.