Backport fix for segfault on apache httpd 2.2.3 (el5) lp#1341325