[10473] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Buffer overflow in ftpd and locate bug

daemon@ATHENA.MIT.EDU (Andrew Pitman)
Fri May 7 13:46:36 1999

Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-Id: <Pine.LNX.3.96.990507012743.5822T-100000@torch.rowan.edu>
Date: 	Fri, 7 May 1999 01:31:22 -0400
Reply-To: Andrew Pitman <ap1@TORCH.ROWAN.EDU>
From: Andrew Pitman <ap1@TORCH.ROWAN.EDU>
X-To:         Eugeny Kuzakov <kev@LAB321.RU>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.BSF.4.10.9905041136210.27398-100000@lab321.ru>

Eugeny,

Don't panic!!

I'm CC'ing this to Bugtraq in case some aren't aware of this (very simple)
solution:

	use rm -d (as superuser) on the top-level directory.  Then run
fsck to free the unreferenced inodes below it in the 'tree'.

Andrew
--
  "The wonderful thing about standards is that there are so
   many to choose from."
                                        (Andrew S. Tanenbaum)
------------------------------+----------------------------------
  Andrew Pitman               | Management Information Systems,
  Unix System Administrator/  | Technology Operations Support
                    Webmaster |             at Rowan University
------------------------------+----------------------------------

On Tue, 4 May 1999, Eugeny Kuzakov wrote:

> On Sun, 2 May 1999, Przemyslaw Frasunek wrote:
>
> >   Example:
> >
> >   I'm creating a directory structure with 300 subdirectories, each
> > 255 chars length (source in attachment, also it's possible to do it
> > via ftpd, because it calls mkdir() and chdir()).
> I tryed it under 2.2-stable.
> /usr/bin/find -- yes, core dumpes.
> /bin/rm can not delete this tree...8-[  ]
> I don't know how to remove it....
>
> --
> 	Best wishes, Eugeny Kuzakov
> 		Laboratory 321 ( Omsk, Russia )
> 		kev@lab321.ru
> 		ICQ#: 5885106
>

home help back first fref pref prev next nref lref last post