FTP client dumping core

Kris Kennaway kris at obsecurity.org
Wed Jun 4 10:24:02 PDT 2003


On Wed, Jun 04, 2003 at 02:05:58PM -0300, Fred Souza wrote:
> Hello,
> 
>   I just noticed this (and I think it never happened to me before):
> 
>   torment:~! ftp x.y.z.w
>   Connected to x.y.z.w.
>   220 h4w h4w h4w
>   Name (x.y.z.w:fred): anonymous
>   530 Sorry, no ANONYMOUS access allowed.
>   ftp: Login failed.
>   Segmentation fault (core dumped)
>   torment:~!
> 
>   And running ftp from gdb gives me this:
> 
>   (gdb) run x.y.z.w
>   Starting program: /usr/bin/ftp x.y.z.w
>   (no debugging symbols found)...(no debugging symbols found)...
>   (no debugging symbols found)...(no debugging symbols found)...
>   Connected to x.y.z.w.
>   220 h4w h4w h4w
>   Name (x.y.z.w:fred): anonymous
>   530 Sorry, no ANONYMOUS access allowed.
>   ftp: Login failed.
>   (no debugging symbols found)...
>   Program received signal SIGSEGV, Segmentation fault.
>   0x0805e346 in getsockname ()
>   (gdb)
> 
>   The box is a 5.1-CURRENT system, built with sources of 06/03/03.

Can you rebuild ftpd with ggdb in CFLAGS and repeat the traceback?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030604/b19bfced/attachment.bin


More information about the freebsd-current mailing list