Received: (qmail 90154 invoked by uid 501); 6 Mar 2002 23:50:08 -0000 Message-Id: <20020306235008.90153.qmail@apache.org> Date: 6 Mar 2002 23:50:08 -0000 From: Peleus Uhley Reply-To: peleus@cyberpass.net To: submit@bugz.apache.org Subject: ap_os_is_path_absolute X-Send-Pr-Version: 3.110 >Number: 10056 >Category: mod_proxy >Synopsis: ap_os_is_path_absolute >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: feedback >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Mar 06 16:00:01 PST 2002 >Closed-Date: >Last-Modified: Sat Mar 16 15:36:20 PST 2002 >Originator: peleus@cyberpass.net >Release: 1.3.22 & probably 1.3.23 >Organization: >Environment: Linux 2.4.16, gcc 2.96 >Description: Receiving SigSev. In http_request.c, process_request_internal is calling directory walk which at line 535 calls ap_os_is_path_absolute which is located in os-inline.c line 30. The Seg Fault occurs in os_is_path_absolute. It appears that the code does not handle a situation in which the entry_dir variable of directory_walk does not contain a value or contains an incorrect value from the per_dir_config of http_core.c I am receiving this error while running Apache 1.3.22 in proxy mode. Apache 1.3.23 seems unchanged in this section so I assume that it would happen there as well. >How-To-Repeat: It does not appear to have any unique qualities that cause it to happen. >Fix: Verify the variable before use. >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: wrowe State-Changed-When: Sat Mar 16 15:36:20 PST 2002 State-Changed-Why: What modules are loaded? What is the specific conf that applies to this particular request? It appears that a module has some nasty interaction with dir_walk, but that code in the 1.3 branch is very stable. What was the specific request, which handler died, and is it possible to provide a stack trace? It's quite possible this is related to the mod_proxy changes, if I'm reading your comments correctly. I've reclassed the bug as such. Category-Changed-From-To: os-linux-mod_proxy Category-Changed-By: wrowe Category-Changed-When: Sat Mar 16 15:36:20 PST 2002 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]