[Bug 4478] New: Empty format unit patterns cause hexdump to segfault

bugzilla at busybox.net bugzilla at busybox.net
Tue Nov 15 17:47:24 UTC 2011


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

           Summary: Empty format unit patterns cause hexdump to segfault
           Product: Busybox
           Version: 1.19.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: jow at openwrt.org
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created attachment 3746
  --> https://bugs.busybox.net/attachment.cgi?id=3746
Proposed fix for the segmentation fault

The following command will cause the hexdump applet to segmentation fault:

  hexdump -n1 -ve '8/2 "" "%04x" ""'

It looks like this affects all architectures, I could reproduce it on BusyBox
1.19.3 and BusyBox 1.15.3 so I assume its been there since a long time.

-- 
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