Bug 4652

Summary: ash read stops prematurely : read < /proc/sys/kernel/random/poolsize
Product: Busybox Reporter: Earl Chew <echew>
Component: Standard ComplianceAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.19.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Earl Chew 2011-12-21 17:45:32 UTC
On Linux:

Using bash:
% read < /proc/sys/kernel/random/poolsize ; echo $REPLY
4096

Using Busybox 1.19.3:
./sh -c 'read < /proc/sys/kernel/random/poolsize ; echo $REPLY'
4

./cat < /proc/sys/kernel/random/poolsize
4096