bug#1087: (forw) [BusyBox] bug found in tail: segmentation fault

Mark Whitley markw at lineo.com
Wed Jan 3 21:19:41 UTC 2001


Package: busybox
Version: 0.49pre
Severity: normal

Tail segfaults when it tries to read a file of 0 or 1 bytes.


Test Case:

$ touch empty
$ ./busybox tail empty 
*:JZjzŠšªºÊÚêú¨
*:@@Zj@šªºÊÚê •
@
På@*:JZjzŠšªºÊà“
@êúª
*:JZjzŠšªº|‰@Úêú«
á@JZjzŠšªºÊÚêú¬
*p@J ”
@jzŠšªºÊÚêðÉ@
<(          `¢
  l‡
  ƒ
   0 at T°°hþÿÿo8ÿÿÿoðÿÿo¤¤øÿ¿€ô@@õ@€@Àó@@€@^[[?1;2c^[[?1;2cPäùÿ¿0empty
   Segmentation fault


Original bug report is attached.


Mark Whitley
markw at lineo.com
-------------- next part --------------
An embedded message was scrubbed...
From: Arne Bernin <ab at netropol.de>
Subject: [BusyBox] bug found in tail: segmentation fault
Date: Sun, 24 Dec 2000 03:16:19 +0100
Size: 2598
Url: http://lists.busybox.net/pipermail/busybox/attachments/20010103/0640c017/attachment-0001.eml 


More information about the busybox mailing list