Bug#70762: textutils: tail segfault
H. S. Teoh <hsteoh@quickfur.yi.org> wrote:
>
> But the original bug seems to be more of an issue: shouldn't it be a bug
> that tail chews up infinite amounts of memory when it can't find an
> end-of-line char? IMHO, tail should just bail out when it finds a line
> which is more than, say 10MB long (I'm being generous about limits here).
> I mean, when there is no newline for 10MB's worth of data, is there even
> any usefulness to tail anymore? I just can't imagine any scenario where
> it'd actually do anything *useful*.
No, we should not impose arbitrary limits on applications.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Reply to: