fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] about that fetchmail imap message count vulnerability and alloca()

2002-07-04 06:37:14
On Thu, 04 Jul 2002, Andreas Hasenack wrote:

So, what's the point in using it anyway? I didn't get a segfault alloca()ting
1Gb of memory, but the next printf() in my sample program crashed. Isn't
that too much instability for fetchmail?

Well, you cannot expect to be able to recover from out-of-memory
conditions anyways. As competing processes fight for memory, you may
lose memory you intended to use for a graceful exit, like saving state
or something. Indeed, that's vexing, but such is life with multi-tasking
operating systems.

-- 
Matthias Andree

Attachment: pgppvEPB2h9ud.pgp
Description: PGP signature