Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 16:33:02 +0300
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Staticaly allocated buffers in library. Is it correct?
Message-ID:  <96rash$1m1d$1@igloo.uran.net.ua>
References:  <Pine.BSF.4.21.0102171202110.400-100000@scorpion.cosmos.all.net>

next in thread | previous in thread | raw e-mail | index | archive | help
So, if I send problem report with my patches, I should inherit usage of
staticaly allocated buffers.
Am I right?

milunovic <milunovic@sendmail.ru> wrote in message
news:Pine.BSF.4.21.0102171202110.400-100000@scorpion.cosmos.all.net...
> -----BEGIN PGP SIGNED MESSAGE-----
>
> On Fri, 16 Feb 2001, Andrey Simonenko wrote:
>
> > I patched some library files and noted that some functions, which parse
some
> > configuration files, use staticaly allocated buffers. Sizes of such
> > staticaly allocated buffers are 8k, 10k and so on. These buffers are
used to
> > hold one line from parsed file. Usually it is enough for one line, but
> > really this is error (I think).
>
> Well since config files can be only changed by root,I don't think that
> root will use too long lines to case heap overflow.So this isn't big
> problem.
>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96rash$1m1d$1>