Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 44047 invoked from network); 14 Sep 2009 19:26:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Sep 2009 19:26:13 -0000 Received: (qmail 21410 invoked by uid 500); 14 Sep 2009 19:26:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 21329 invoked by uid 500); 14 Sep 2009 19:26:12 -0000 Mailing-List: contact dev-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 dev@httpd.apache.org Received: (qmail 21318 invoked by uid 99); 14 Sep 2009 19:26:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 19:26:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jorton@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 19:26:04 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8EJPggt023722 for ; Mon, 14 Sep 2009 15:25:43 -0400 Received: from turnip.manyfish.co.uk (vpn-12-96.rdu.redhat.com [10.11.12.96]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8EJPeZe007400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 14 Sep 2009 15:25:42 -0400 Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from ) id 1MnHBD-0005mB-Op for dev@httpd.apache.org; Mon, 14 Sep 2009 20:25:39 +0100 Date: Mon, 14 Sep 2009 20:25:39 +0100 From: Joe Orton To: dev@httpd.apache.org Subject: Re: svn commit: r814652 - /httpd/httpd/trunk/modules/proxy/mod_proxy_ftp.c Message-ID: <20090914192539.GA17030@redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <20090914141614.C59F5238886D@eris.apache.org> <4AAE93A8.7080605@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4AAE93A8.7080605@apache.org> User-Agent: Mutt/1.5.18 (2008-05-17) Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 14, 2009 at 09:04:08PM +0200, Ruediger Pluem wrote: > On 09/14/2009 04:16 PM, jorton@apache.org wrote: > > + /* Reply syntax per RFC 2428: "229 blah blah (|||port|)" where '|' > > + * can be any character in ASCII from 33-126, obscurely. Verify > > + * the syntax. */ > > + p = ap_strchr(reply, '('); > > + if (p == NULL || !p[0] || !p[1] || p[1] != p[2] || p[1] != p[3] > > + || p[4] == p[1]) { > > Hm. Isn't p[0] always == '(' if p != NULL? > If yes !p[0] || could go away. Yes, thanks - http://svn.apache.org/viewvc?view=rev&revision=814792