Date: Sat, 17 Feb 2001 12:04:49 +0000 (GMT) From: milunovic <milunovic@sendmail.ru> To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Staticaly allocated buffers in library. Is it correct? Message-ID: <Pine.BSF.4.21.0102171202110.400-100000@scorpion.cosmos.all.net> In-Reply-To: <96jmr3$kd7$1@igloo.uran.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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. Vojislav Milunovic milunovic@sendmail.ru -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOo5o5C3gPLld8IkLAQGaTQf/TNY5ODLUYmylF1KEuIsw2u7CvB4MSlRu H63ZIbWtWcuwc1Dlhuqp7H8biXamtvGcOC5gpvHUMMN/6BjdOyXAmXLxNKS+X+n6 MYZ3ODXwJkhqyUxPbfz46t3VUHH95Zo6aT26odhJy2PG4ttitzS+x3cnDfIaG15C FZQE3MYhTwT1A/cjSx9T1+uWwjMvrTXeHuDZMysCyNsjAilsoZ2+jty1jDibpa15 7D8+4aEC3RWisUPaQXWPCmCoT6C9j7YXWAi/J+O0olJn/Je21GvCeSVt2pp09B0L Dv6lenAMB2/OCXruSMnmtOfxI8iSCpSeNa16DH14neqZ0fA8loOEOQ== =ggia -----END PGP SIGNATURE----- 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?Pine.BSF.4.21.0102171202110.400-100000>