lkml.org 
[lkml]   [1998]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sendmail 8.9.0 claims a Linux kernel bug
On Sat, 27 Jun 1998, Raul Miller wrote:

>
> > > Alan> Fix sendmail, better yet get a better mail daemon
>
I hacked sendmail to make it behave. However, I note that the code
uses a 'trick' that may cause a memory leak.

(1) Procedure calls (2) to wait for a connection.
(2) When a connection occurs, fork to (3), parent loops to (2).
(3) This is the child. It 'returns' to (1).

So, this continues 'forever'. The child, which returned to parent code
does eventually die, presumably freeing its resources, but the fd
(socket) returned by accept will continue to increase in value. I
don't know what happens when this value wraps the int, but I think
it's time to find another sendmail because this code is not very
maintainable, which is a major understatement.

Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.105 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.095 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site