Bugtraq mailing list archives

Re: Buffer overflow in ftpd and locate bug


From: ap1 () TORCH ROWAN EDU (Andrew Pitman)
Date: Fri, 7 May 1999 01:31:22 -0400


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




Current thread: