[Bug 9246] SIGSEGV on readtoken

bugzilla at busybox.net bugzilla at busybox.net
Sat Sep 17 18:56:05 UTC 2016


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

Denys Vlasenko <vda.linux at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #2 from Denys Vlasenko <vda.linux at googlemail.com> ---
echo "..<100kbytes>..`true` $(true) `true` ..."

allocates 100kb for every command subst. With about
a hundred command substitutions stack overflows.
With larger prepended string, SEGV happens sooner.

I think while this is a deficiency, it is not likely to to impact
practical scripts. Adding FIXME in the source where it happens.
Won't fix now.

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


More information about the busybox-cvs mailing list