[Toybox] [PATCH] Fix argless find segfault.

Rob Landley rob at landley.net
Sat Oct 12 15:25:06 PDT 2019


On 10/11/19 11:31 AM, Denys Nykula wrote:
> 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.

Thanks. I tweaked it to not introduce another variable.

Rob



More information about the Toybox mailing list