Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 17591 invoked from network); 18 Nov 2008 14:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Nov 2008 14:25:31 -0000 Received: (qmail 3239 invoked by uid 500); 18 Nov 2008 14:25:35 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 3196 invoked by uid 500); 18 Nov 2008 14:25:35 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 3185 invoked by uid 99); 18 Nov 2008 14:25:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 06:25:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2008 14:24:14 +0000 Received: by nf-out-0910.google.com with SMTP id c10so1500363nfd.44 for ; Tue, 18 Nov 2008 06:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1cXXiNsxvFi+Q2HbSyxK1lrO38aTzopIsUf4njSp2f4=; b=SbRDG6ctLbzn0uDm0Vo4UeHx9F0xUOVZG2YTh9YSx/u7cvsuaKn/b4D0yqit87fn5X Gy+XlAWXYujfFItDbLS0rQx0+uVYf9XqsM+rwBFMytZK7RkWCA9x8cvukDzE4qWmN3Cj 9ggpNEbVfCirCicyowYYe1xVAB4L7+2dD6fhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mosxxHrWP6abqAQgqu7vqCSSWmNhnXLNZT3iGgo3wCCmI5lukqeYc+05Ytf1A7SF+o PBh6SVXIn7aObYS9fQZiF6fzzAqx9PjQpUNy8JvDR8ygCyWGrZr+bXf+0cnjcPDB2gM1 GOV95WZAfX859SFTE0YuUbiSVaJj3AdaEc2Eg= Received: by 10.86.62.3 with SMTP id k3mr15082fga.46.1227018298543; Tue, 18 Nov 2008 06:24:58 -0800 (PST) Received: by 10.86.65.7 with HTTP; Tue, 18 Nov 2008 06:24:58 -0800 (PST) Message-ID: <25aac9fc0811180624w6308fa1fof0a2fdd07fea3d24@mail.gmail.com> Date: Tue, 18 Nov 2008 14:24:58 +0000 From: sebb To: "Tomcat Developers List" Subject: Re: [RESULT] [VOTE] Releasing Apache Tomcat Native 1.1.16 In-Reply-To: <4922CCE5.4010702@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <491C48C7.7070206@apache.org> <49226207.8010804@apache.org> <49226DF6.4030909@rowe-clan.net> <49226FE9.9000700@apache.org> <25aac9fc0811180553k2aa3fd8dj5f8a6bceba30395e@mail.gmail.com> <4922CCE5.4010702@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org On 18/11/2008, Mladen Turk wrote: > sebb wrote: > > > I happened to spot the following in ssl.c: > > > > static int jbs_gets(BIO *b, char *out, int outl) > > ... > > int l = (int)strlen(J2S(o)); > > if (l < outl) { > > strcpy(out, J2S(o)); > > ret = outl; > > } > > ... > > return ret; > > > > It looks a bit odd to me - I would have expected it to return l rather > > than outl. > > > > However, I've no idea what the function API is supposed to be - and > > the caller can use strlen(out) to find l - so I'm probably wrong. > > > > > > > > You are probably right, but the entire BIO code > isn't used anywhere. It was something we > (Jean-Frederic I think) experimented at the > beginning. Perhaps it should be removed then, or at least commented out. Seems rather risky to me to have unused JNI code in a release. > Regards > -- > ^(TM) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org