[BusyBox] ls under vt220 -> Floating point exception

Matt Kraai kraai at alumni.carnegiemellon.edu
Mon Feb 5 15:33:01 UTC 2001


On Mon, Feb 05, 2001 at 02:04:01PM +0100, Giulio Orsero wrote:
> busybox-0.49, compiled with libc5.
> 
> $ echo $TERM
> vt220
> $ ./busybox ls -l
> -rw-r--r--   1 cdi      cdi          2118 Jan  5 20:28 AUTHORS
> -rw-r--r--   1 cdi      cdi         43391 Jan 27 10:37 Changelog
> -rw-r--r--   1 cdi      cdi         10185 Feb  5 13:27 Config.h
> -rw-r--r--   1 cdi      cdi          9051 Jan 24 23:11 Config.h.Hurd
> -rw-r--r--   1 cdi      cdi         19001 Jan 27 10:37 LICENSE
> -rw-r--r--   1 cdi      cdi          9918 Jan 27 10:37 Makefile
> ...
> ...
> $ ./busybox ls
> Floating point exception
> $

This is a known bug where ls divides by zero.  See
http://busybox.net/lists/busybox/2001-January/001786.html
for more information, including a patch which fixes the problem.

Matt





More information about the busybox mailing list