Return-Path: X-Original-To: apmail-httpd-apreq-cvs-archive@www.apache.org Delivered-To: apmail-httpd-apreq-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 387FC4B2A for ; Tue, 17 May 2011 17:47:16 +0000 (UTC) Received: (qmail 28854 invoked by uid 500); 17 May 2011 17:47:16 -0000 Delivered-To: apmail-httpd-apreq-cvs-archive@httpd.apache.org Received: (qmail 28819 invoked by uid 500); 17 May 2011 17:47:16 -0000 Mailing-List: contact apreq-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: apreq-dev@httpd.apache.org List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-cvs@httpd.apache.org Received: (qmail 28811 invoked by uid 99); 17 May 2011 17:47:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 17:47:16 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 17:47:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 11E922388901; Tue, 17 May 2011 17:46:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1104427 - /httpd/apreq/trunk/library/t/at.c Date: Tue, 17 May 2011 17:46:55 -0000 To: apreq-cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110517174655.11E922388901@eris.apache.org> Author: joes Date: Tue May 17 17:46:54 2011 New Revision: 1104427 URL: http://svn.apache.org/viewvc?rev=1104427&view=rev Log: need a sentinel here Modified: httpd/apreq/trunk/library/t/at.c Modified: httpd/apreq/trunk/library/t/at.c URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/library/t/at.c?rev=1104427&r1=1104426&r2=1104427&view=diff ============================================================================== --- httpd/apreq/trunk/library/t/at.c (original) +++ httpd/apreq/trunk/library/t/at.c Tue May 17 17:46:54 2011 @@ -303,6 +303,8 @@ static int* at_list(apr_pool_t *pool, co } while (prev >= current); + *(int *)apr_array_push(&arr) = 0; /* sentinel */ + return (int *)arr.elts; }