Bug 1099

Summary: Ash segfaults when file does not exist
Product: Busybox Reporter: Lauri Kasanen <curaga>
Component: OtherAssignee: unassigned
Status: RESOLVED DUPLICATE    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.15.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Lauri Kasanen 2010-02-17 17:27:56 UTC
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
Comment 1 Lauri Kasanen 2010-02-17 17:32:17 UTC

*** This bug has been marked as a duplicate of bug 1087 ***