[Bug 7610] New: Segmentation fault using substring at 64 bits

bugzilla at busybox.net bugzilla at busybox.net
Thu Nov 6 20:36:57 UTC 2014


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

           Summary: Segmentation fault using substring at 64 bits
           Product: Busybox
           Version: 1.21.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: fernando at null-life.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Following code crashes busybox:

busybox sh -c 'export z=abcdefg;echo ${z:0:9223372036854775807}'

(gdb) run  sh -c 'export z=abcdefg;echo ${z:0:9223372036854775807}'
Starting program: /bin/busybox sh -c 'export z=abcdefg;echo
${z:0:9223372036854775807}'

Program received signal SIGSEGV, Segmentation fault.
0x0000000000422287 in ?? ()

Crash only appears at 64 bits, 32 bits generates no crash.

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