[Bug 1099] New: Ash segfaults when file does not exist

bugzilla at busybox.net bugzilla at busybox.net
Wed Feb 17 17:27:58 UTC 2010


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

           Summary: Ash segfaults when file does not exist
           Product: Busybox
           Version: 1.15.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: curaga at operamail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


We use this construct to read a file:

echo $(</tmp/file)

Now, if this file doesn't exist, busybox ash as found in 1.15.3 and 1.16.0
segfaults. 1.14.3 ash and bash both do the right thing, which is 

bash-3.2$ $(</tmp/non)
bash: /tmp/non: No such file or directory


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