Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5333 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29371 invoked by uid 1010); 10 Nov 2003 12:27:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29335 invoked from network); 10 Nov 2003 12:27:23 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 10 Nov 2003 12:27:23 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id hAACRMM01495 for ; Mon, 10 Nov 2003 07:27:22 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hAACRM607211 for ; Mon, 10 Nov 2003 07:27:22 -0500 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hAACRMO16986 for ; Mon, 10 Nov 2003 07:27:22 -0500 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id hAACRKng028476 for ; Mon, 10 Nov 2003 12:27:21 GMT Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id hAACRKqh028475 for internals@lists.php.net; Mon, 10 Nov 2003 12:27:20 GMT Date: Mon, 10 Nov 2003 12:27:20 +0000 To: internals@lists.php.net Message-ID: <20031110122720.GC31582@redhat.com> Mail-Followup-To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [PATCH] apache2handler apache_setenv fix From: jorton@redhat.com (Joe Orton) 'r' is not initialized unless walk_to_top is set: Index: sapi/apache2handler/php_functions.c =================================================================== RCS file: /repository/php-src/sapi/apache2handler/php_functions.c,v retrieving revision 1.1.2.9 diff -u -r1.1.2.9 php_functions.c --- sapi/apache2handler/php_functions.c 10 Jul 2003 22:45:34 -0000 1.1.2.9 +++ sapi/apache2handler/php_functions.c 10 Nov 2003 12:26:15 -0000 @@ -259,8 +259,8 @@ ctx = SG(server_context); + r = ctx->r; if (arg_count == 3 && Z_STRVAL_PP(walk_to_top)) { - r = ctx->r; while(r->prev) { r = r->prev; }