Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A759810334 for ; Wed, 24 Apr 2013 08:55:15 +0000 (UTC) Received: (qmail 86786 invoked by uid 500); 24 Apr 2013 08:54:10 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 84641 invoked by uid 500); 24 Apr 2013 08:53:50 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 81769 invoked by uid 99); 24 Apr 2013 08:51:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 08:51:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 08:51:41 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id E292F7FA1; Wed, 24 Apr 2013 08:51:20 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 54881] New: segfault with SetEnvIfExpr and SetEnvIf Date: Wed, 24 Apr 2013 08:51:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_setenvif X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: reto.ischi@ergon.ch X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter classification Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=54881 Bug ID: 54881 Summary: segfault with SetEnvIfExpr and SetEnvIf Product: Apache httpd-2 Version: 2.4.4 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: mod_setenvif Assignee: bugs@httpd.apache.org Reporter: reto.ischi@ergon.ch Classification: Unclassified Compiled and installed Apache HTTPD 2.4.4 on CentOS 6.4 with APR 1.4.6 APR-util 1.5.2 PCRE 8.32 My httpd.conf: ========================== LoadModule setenvif_module modules/mod_setenvif.so LoadModule unixd_module modules/mod_unixd.so User daemon Listen 8000 DocumentRoot "/usr/local/apache2/htdocs" ServerName test SetEnvIfExpr "true" envA=1 SetEnvIf User-Agent "test" envB=1 ========================== I'm getting a segmentation fault if a any SetEnvIf directive follows after a SetEnvIfExpr directive: # gdb ./httpd (gdb) run Starting program: /usr/local/apache2/bin/httpd [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6c8f799 in __strcasecmp_l_ssse3 () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install expat-2.0.1-11.el6_2.x86_64 glibc-2.12-1.107.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 (gdb) bt #0 0x00007ffff6c8f799 in __strcasecmp_l_ssse3 () from /lib64/libc.so.6 #1 0x00007ffff64ee1a0 in add_setenvif_core (cmd=0x7fffffffe3f0, mconfig=, fname=0x6cc4c0 "User-Agent", args=0x6cb55a "envB=1") at mod_setenvif.c:317 #2 0x00007ffff64ee597 in add_setenvif (cmd=0x7fffffffe3f0, mconfig=0x6c9cb8, args=0x6cb553 "\"test\" envB=1") at mod_setenvif.c:415 #3 0x0000000000448ace in invoke_cmd (cmd=0x7ffff66ef600, parms=0x7fffffffe3f0, mconfig=0x6c9cb8, args=0x6cb548 "User-Agent \"test\" envB=1") at config.c:876 #4 0x000000000044a5c3 in ap_walk_config_sub (current=0x6cb500, parms=0x7fffffffe3f0, section_vector=0x6c7858) at config.c:1306 #5 ap_walk_config (current=0x6cb500, parms=0x7fffffffe3f0, section_vector=0x6c7858) at config.c:1339 #6 0x000000000044aa49 in ap_process_config_tree (s=, conftree=, p=0x695138, ptemp=) at config.c:2063 #7 0x0 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org