[Bug 1087] New: Segfault in sh

bugzilla at busybox.net bugzilla at busybox.net
Mon Feb 15 12:18:42 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1087

              Host: i686-unknown-linux-gnu
           Summary: Segfault in sh
           Product: Busybox
           Version: 1.16.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: kocsis at mail.thot-soft.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


The following shell script causes a segfault in sh!

#!/bin/sh

F="/sys/devices/system/cpu/cpu0/online"
echo "$(< $F)"

Output:
sh[517]: segfault at 8 ip 08069dd4 sp bffbdeb4 error 4 in
busybox[8048000+6f000]
Segmentation fault

Kernel: 2.6.32.8 on ULV Celeron (Pentium-M)


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list