[Bug 853] New: HUSH: closes when given undefined variable as only argument

bugzilla at busybox.net bugzilla at busybox.net
Mon Jan 11 16:50:22 UTC 2010


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

           Summary: HUSH: closes when given undefined variable as only
                    argument
           Product: Busybox
           Version: 1.15.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: m.garai at ziv.es
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created an attachment (id=895)
 --> (https://bugs.busybox.net/attachment.cgi?id=895)
quick fix for this bug

When you write a variable that is not previously defined (or is empty) in the
command line hush crashes.

For example:
/home/user $ $notdefined

crashes hush

I've attached a patch that prevents this from happening, not sure if it should
be the final solution though.

Thanks,

Mikel


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