Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toysh segfaults after "clear" or "reset" #83

Closed
mkmkme opened this issue Jan 24, 2018 · 2 comments
Closed

toysh segfaults after "clear" or "reset" #83

mkmkme opened this issue Jan 24, 2018 · 2 comments

Comments

@mkmkme
Copy link
Contributor

mkmkme commented Jan 24, 2018

Hi,

playing with toybox I've found that any command after "clear" or "reset" causes "Double free or corruption". Simple test for this is

echo -e 'clear\nuname -a' | toybox sh
echo -e 'reset\nuname -a' | toybox sh

You can also reproduce this in interactive mode.

Tested with 0.7.4-21-g105595524ead and 0.7.5-58-g1fec45a2a57f

@mkmkme
Copy link
Contributor Author

mkmkme commented Jan 24, 2018

Also I cannot test it via '-c' flag. ./toybox sh -c 'clear; ls' causes sh: exec clear;: No such file or directory and ./toybox sh -c 'clear && ls' hangs my terminal.

@enh-google
Copy link
Collaborator

works for me at ToT (but toysh is still in pending, so the usual warnings apply...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants