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.
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net