[Bug 669] New: hush's exec applet mishandles empty strings ""

bugzilla at busybox.net bugzilla at busybox.net
Sun Oct 18 05:19:18 UTC 2009


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

           Summary: hush's exec applet mishandles empty strings ""
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: vapier at gentoo.org
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


while fixing `` and $() seemed to be easy (hopefully i put the check at the
right place), the exec "" crash seems to be a nested issue

builtin_exec() uses pseudo_exec_argv(), but the functions this one relies on
seems to eat empty strings.  for example:
exec ""
exec ls ""

hush segfaults on the first one while the second one it interprets as:
exec ls


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