[1000] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Fixing the NCSA HTTPD 1.3

daemon@ATHENA.MIT.EDU (Paul 'Shag' Walmsley)
Wed Feb 15 07:14:50 1995

Date: Wed, 15 Feb 1995 02:31:15 -0600 (CST)
From: "Paul 'Shag' Walmsley" <ccshag@cclabs.missouri.edu>
To: Thomas Lopatic <lopatic@dbs.informatik.uni-muenchen.de>
Cc: bugtraq@fc.net, riddle@is.rice.edu, andrew@www.elsevier.co.uk,
        ckd@loiosh.kei.com
In-Reply-To: <199502141854.TAA02860@lionsden.informatik.uni-muenchen.de>

On Tue, 14 Feb 1995, Thomas Lopatic wrote:

> 2. have getline() read only 1000 characters instead of HUGE_STRING_LEN
>    (file http_request.c: getline(l,HUGE_STRING_LEN/4,in,timeout) instead
>     of getline(l,HUGE_STRING_LEN,in,timeout))

I don't see any obvious problems with it (then again, I'm no expert on 
NCSA's code) but I'm curious: is there any rationale behind the magic 
number 4 here, or is that an essentially arbitrary decision?



- Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>
  "I'll drink a toast to bold evolution any day!"


home help back first fref pref prev next nref lref last post