Bug : cat >mfpdjfoh | grep a | wm -l
Closed this issue · 4 comments
Elli-ellgard commented
Bug : cat >mfpdjfoh | grep a | wm -l
Elli-ellgard commented
cat >mfpdjfoh | grep a | wm -l
Error:
minishell: command not found: wm
free(): double free detected in tcache 2
ENDLESS LOOP
Elli-ellgard commented
no error, bash behave the same
francisrafal commented
double free fixed but still leaking memory and endless loop, will fix with cat | cat | ls
francisrafal commented
Memory Leaks fixed, Endless Loop at grep is okay, should be terminated with Ctrl + D