[Bug 10761] New: busybox shell is more easily to get SEGV for processing backtick '`' command.

bugzilla at busybox.net bugzilla at busybox.net
Wed Feb 14 22:42:43 UTC 2018


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

            Bug ID: 10761
           Summary: busybox shell is more easily to get SEGV for
                    processing backtick '`' command.
           Product: Busybox
           Version: 1.28.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: frank.chen2 at baesystems.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

The new shell(ash.c) use alloca() to allocate memory for parsebackq: (backtick
'`' command). but for some scripts which use a lot of this kind of commands,
the result is terrible(I thought the default stack size is 16000).

I got this since I try to configure libtool package on my new system with new
busybox, and I got SEGV.

I use ckmalloc() and free() to resolve this problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list