mochida1 / minishell

Mudar a descrição depois
5 stars 1 forks source link

echo_invalid_read #72

Closed mochida1 closed 2 years ago

mochida1 commented 2 years ago

echo "$USER" ==59370== Invalid read of size 1 ==59370== at 0x404785: get_var_value (expand_vars.c:29) ==59370== by 0x404824: update_token (expand_vars.c:47) ==59370== by 0x4048F4: if_variable (expand_vars.c:65) ==59370== by 0x4049AA: expand_variables (expand_vars.c:87) ==59370== by 0x4049FD: handle_variable_expansions (expand_vars.c:97) ==59370== by 0x406F9D: parse_state (parse_state.c:47) ==59370== by 0x404366: main (minishell.c:40)