Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 18 Jun 2001 11:47:08 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: * Re: 1.1.8: Too large entry in termcap file Message-ID: <20010618114708.H28822@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3B2DD3F1 DOT 60805 AT mch2pc28 DOT mechanik DOT tuwien DOT ac DOT at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3B2DD3F1.60805@mch2pc28.mechanik.tuwien.ac.at>; from asteindl@mch2pc28.mechanik.tuwien.ac.at on Mon, Jun 18, 2001 at 12:12:01PM +0200 On Mon, Jun 18, 2001 at 12:12:01PM +0200, Alois Steindl wrote: >On Sat, 16 Jun 2001 23:29:36 -0400, >Christopher Faylor wrote: >>Looking at the entry that is in termcap for linux, I don't see any way >>around this. I did compare it against the entry from Red Hat and I see >>that they just squeak in under 1024. > >I get 1042 for linux and 1034 for cygwin In that case, linux is non-compliant too. I believe that the 1024 is supposed to include the null byte. >disappears if I increase this buffer or avoid termcap at all. >Increasing the limit silently (quite likely accidently) can break a lot >of existing programs - like e.g. fweb - , even if it were documented >in the man page. Buffer overflow is a major source of programming >problems. Let's hope that this kind of errors is not growing in the >Red Hat programs, since I use Linux Red Hat much more frequently than >cygwin. However, the termcap entry has been in this state for a long time with very few (if any) bug reports prior to this. I suggested that you might want to provide a patch if you can find something which could be nuked from the termcap entry. If that is not something that you are willing to do, then the other alternative is to modify your program. If I see a bunch of people reporting this problem then maybe I'll look into changing it. Until then, since it has been like this for a year or so, I don't see any urgency. We have other problems to deal with for now. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple