[Toybox] Segfault in cd

Rob Landley rob at landley.net
Sun Dec 30 15:35:16 PST 2012


On 12/30/2012 05:05:48 AM, Felix Janda wrote:
> Right now using toybox's version of cd from toysh with no argument  
> gives me
> a segfault, apparently from freeing an invalid pointer in  
> run_pipeline().
> The attached patch fixes it for me.

Yeah, it looks like commit 121 broke it back in 2007.

(I keep telling people toysh is just a stub, but they don't believe me  
and keep expecting it to do things. I need to rewrite it so the input  
buffer isn't using toybuf before it's worth doing anything else on...)

Rob
 1356910516.0


More information about the Toybox mailing list