Re: Variable-sized lines of text in linked list
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 13:29:10 +0000
Richard Tobin said:
In article <eIKdnV4AV7CsnFXanZ2dnUVZ8rCdnZ2d@xxxxxx>,
Richard Heathfield <rjh@xxxxxxxxxxxxxxx> wrote:
A third problem is that of Denial of Memory attacks, where malicious
users seek (perhaps over a remote connection) to bring the program down
by asking it to deal with ludicrously long lines.
Whether the ability of a function to read a line limited only by the
amount of available memory is a disadvantage or an advantage depends
on the context. Not every program has to be robust again malicious
attacks.
Agreed - which is why ggets should not be dismissed out of hand.
Furthermore, ggets has the advantage of a very simple user interface. This
is not an advantage to be lightly dismissed. Nevertheless, the problems I
mentioned are also significant, and I think Chuck would be wiser to point
them out when he is recommending his function for other people, who might
not have as much experience as he does in deciding when ggets is, and is
not, appropriate in a particular situation.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- Follow-Ups:
- Re: Variable-sized lines of text in linked list
- From: Randy Howard
- Re: Variable-sized lines of text in linked list
- References:
- Variable-sized lines of text in linked list
- From: Scottman
- Re: Variable-sized lines of text in linked list
- From: Richard Heathfield
- Re: Variable-sized lines of text in linked list
- From: CBFalconer
- Re: Variable-sized lines of text in linked list
- From: Richard Heathfield
- Re: Variable-sized lines of text in linked list
- From: Richard Tobin
- Variable-sized lines of text in linked list
- Prev by Date: Re: Variable-sized lines of text in linked list
- Next by Date: Re: Link lists..
- Previous by thread: Re: Variable-sized lines of text in linked list
- Next by thread: Re: Variable-sized lines of text in linked list
- Index(es):
Relevant Pages
|