Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 18:57:25 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Guy Helmer <ghelmer@scl.ameslab.gov>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: inetd in realloc(): warning: junk pointer
Message-ID:  <Pine.BSF.3.96.980112185627.22079R-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.SGI.3.96.980106095609.10920A-100000@demios.scl.ameslab.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Jan 1998, Guy Helmer wrote:

> A friend running 2.2.5 has run into the problem where inetd complains on
> incoming connections with "inetd in realloc: warning: junk pointer too low
> to make sense".  His system is a production telnet & mail server for his
> organization, and this message fouls up the protocols (ftp & pop
> especially), causing many problems.  inetd.c doesn't even call realloc(3),
> though, and there's only one unchecked memory allocation, a strdup(3) near
> the end of the source that doesn't look like it could be related to the
> problem.  /etc/inetd.conf is fine, as is /etc/services.
> 
> This problem has been mentioned many times before but I don't see whether
> anyone has resolved it.  Any solutions? 

None yet that I know of.  The biggest problem is that it's hard to
reproduce -- my machine doesn't give those errors.  If you can get a
consistent case and can attach gdb to it and give details, then we might
be able to do something with it.

Note that it could be a library call, if realloc() isn't called in the
program itself.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980112185627.22079R-100000>