[Toybox] Unfixed bug in tail toy

luckboy at vp.pl luckboy at vp.pl
Wed Nov 5 10:15:02 PST 2014


I couldn't write e-mail because I fixed my project. I want inform about 
unfixed bug in tail
toy. I sometime fixed this bug but my fix of this bug wasn't applied.

Patch:
https://github.com/luckboy/toyroot/blob/master/patch/toybox-0.5.0-tail-n-c.patch

This bug is is segmentation fault for 'tail -c 10' that read big data 
from stdin.
You can check occurrence of this bug by invoke commands:

dd if=/dev/urandom of=test.bin bs=1024 count=8
hexdump test.bin | ./toybox tail -c 10
Segmentation fault

Łukasz Szpakowski.


 1415211302.0


More information about the Toybox mailing list