Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 91591 invoked from network); 13 Sep 2009 14:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Sep 2009 14:59:51 -0000 Received: (qmail 74976 invoked by uid 500); 13 Sep 2009 14:59:51 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 74888 invoked by uid 500); 13 Sep 2009 14:59:51 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 74879 invoked by uid 99); 13 Sep 2009 14:59:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 14:59:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 14:59:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4DAA523888A2; Sun, 13 Sep 2009 14:59:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r814327 - in /httpd/httpd/trunk: CHANGES modules/session/mod_session.c Date: Sun, 13 Sep 2009 14:59:29 -0000 To: cvs@httpd.apache.org From: minfrin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090913145929.4DAA523888A2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: minfrin Date: Sun Sep 13 14:59:28 2009 New Revision: 814327 URL: http://svn.apache.org/viewvc?rev=814327&view=rev Log: mod_session.c: Prevent a segfault when session is added but not configured. Modified: httpd/httpd/trunk/CHANGES httpd/httpd/trunk/modules/session/mod_session.c Modified: httpd/httpd/trunk/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=814327&r1=814326&r2=814327&view=diff ============================================================================== --- httpd/httpd/trunk/CHANGES [utf-8] (original) +++ httpd/httpd/trunk/CHANGES [utf-8] Sun Sep 13 14:59:28 2009 @@ -2,6 +2,9 @@ Changes with Apache 2.3.3 + *) mod_session.c: Prevent a segfault when session is added but not + configured. [Graham Leggett] + *) htcacheclean: 19 ways to fail, 1 error message. Fixed. [Graham Leggett] *) mod_auth_digest: Fail server start when nonce count checking Modified: httpd/httpd/trunk/modules/session/mod_session.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/mod_session.c?rev=814327&r1=814326&r2=814327&view=diff ============================================================================== --- httpd/httpd/trunk/modules/session/mod_session.c (original) +++ httpd/httpd/trunk/modules/session/mod_session.c Sun Sep 13 14:59:28 2009 @@ -99,7 +99,7 @@ int rv = 0; /* is the session enabled? */ - if (!dconf->enabled) { + if (!dconf || !dconf->enabled) { return APR_SUCCESS; }