francisrafal/minishell

Bug : cat >mfpdjfoh | grep a | wm -l

Closed this issue · 4 comments

Bug : cat >mfpdjfoh | grep a | wm -l

cat >mfpdjfoh | grep a | wm -l

Error:
minishell: command not found: wm
free(): double free detected in tcache 2

ENDLESS LOOP

no error, bash behave the same

double free fixed but still leaking memory and endless loop, will fix with cat | cat | ls

Memory Leaks fixed, Endless Loop at grep is okay, should be terminated with Ctrl + D