[Toybox] [PATCH] Fix argless find segfault.

Denys Nykula nykula at ukr.net
Fri Oct 11 09:31:23 PDT 2019


Find stopped falling back to current dir without args:

# toybox find
r%': No such file or directory
(Another system) Segmentation fault

Because the inline array of "." becomes garbage outside its if.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-argless-find-segfault.patch
Type: application/x-patch
Size: 1484 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20191011/ec7c8525/attachment-0002.bin>


More information about the Toybox mailing list