mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
parsing: pass correct arguments to prevent use-after-free
This commit is contained in:
parent
ba9751e089
commit
5716c4b3dc
13 changed files with 65 additions and 47 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/15 10:38:23 by khais #+# #+# */
|
||||
/* Updated: 2025/04/15 10:38:41 by khais ### ########.fr */
|
||||
/* Updated: 2025/04/15 14:05:40 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -15,6 +15,6 @@
|
|||
|
||||
# include "../../minishell.h"
|
||||
|
||||
t_cmd *minishell_simple_cmd_parse(t_minishell *app, t_wordlist *tokens);
|
||||
t_cmd *minishell_simple_cmd_parse(t_minishell *app, t_wordlist **tokens);
|
||||
|
||||
#endif // SIMPLE_CMD_PARSE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue