From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: [PATCH] quickfetch(): Prevent overflow of the rev-list command line Date: Thu, 09 Jul 2009 11:15:57 +0200 Message-ID: <4A55B54D.4080601@viscovery.net> References: <200907091043.03263.johan@herland.net> <4A55AF88.3090205@viscovery.net> <200907091107.46838.johan@herland.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Junio C Hamano , git@vger.kernel.org, Peter Krefting , "Shawn O. Pearce" To: Johan Herland X-From: git-owner@vger.kernel.org Thu Jul 09 11:16:09 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOpjc-0007Zo-2P for gcvg-git-2@gmane.org; Thu, 09 Jul 2009 11:16:08 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757077AbZGIJQD (ORCPT ); Thu, 9 Jul 2009 05:16:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755215AbZGIJQB (ORCPT ); Thu, 9 Jul 2009 05:16:01 -0400 Received: from lilzmailso02.liwest.at ([212.33.55.13]:27023 "EHLO lilzmailso02.liwest.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747AbZGIJQA (ORCPT ); Thu, 9 Jul 2009 05:16:00 -0400 Received: from cpe228-254.liwest.at ([81.10.228.254] helo=linz.eudaptics.com) by lilzmailso02.liwest.at with esmtpa (Exim 4.69) (envelope-from ) id 1MOpjS-0001qz-98; Thu, 09 Jul 2009 11:15:58 +0200 Received: from [127.0.0.1] (J6T.linz.viscovery [192.168.1.96]) by linz.eudaptics.com (Postfix) with ESMTP id EEBB26B7; Thu, 9 Jul 2009 11:15:57 +0200 (CEST) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <200907091107.46838.johan@herland.net> X-Enigmail-Version: 0.95.5 X-Spam-Score: -1.4 (-) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Johan Herland schrieb: > Thanks, but what about the subsequent close()? Will it fail with EINVAL? > EBADF? or will is succeed (like on Linux)? I guess it succeeds, but I don't have a quick test. Send your patch, and we'll see ;) -- Hannes