Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: What's so bad about scanf anyway??? (really what's bad about gets)
Message-ID: <1990Nov16.165203.18786@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <16582@netcom.UUCP> <VXogs2w163w@cybrspc> <1990Nov12.014850.14475@melba.bby.oz.au> <879@jonlab.UUCP>
Date: Fri, 16 Nov 90 16:52:03 GMT

In article <879@jonlab.UUCP> jon@jonlab.UUCP (Jon H. LaBadie) writes:
>I've a vague recollection that declaring input arrays to be BUFSIZ
>in length provides some protection to overflow by gets(3C).

Nope.  Except insofar as making the arrays longer reduces the probability
of somebody overflowing them.  There is no magic associated with BUFSIZ.
-- 
"I don't *want* to be normal!"         | Henry Spencer at U of Toronto Zoology
"Not to worry."                        |  henry@zoo.toronto.edu   utzoo!henry
