minishell/src
Khaïs COLIN 82da182773
fix: potential buffer overflow caused by missing terminating null byte in t_buffer
This only occurs in specific circumstances where the number of bytes to be added
to a t_buffer via the ft_buffer_push_buf function is exactly equal to the number
of free bytes in the current underlying buffer. This does not occur if the
number of bytes to add to the buffer is smaller than that, since we allocate new
space using ft_calloc.

In these circumstances, since no terminating null byte is added, other code may
read past the end of the buffer, causing a buffer overflow.
2025-04-15 15:17:51 +02:00
..
buffer fix: potential buffer overflow caused by missing terminating null byte in t_buffer 2025-04-15 15:17:51 +02:00
env Expansion: Most changes dealt with 2025-03-21 18:54:10 +01:00
executing token_type: add field with no logic for populating it 2025-04-15 15:15:30 +02:00
parser token_type: assign token_type to worddesc during wordsplit 2025-04-15 15:17:51 +02:00
postprocess token_type: add field with no logic for populating it 2025-04-15 15:15:30 +02:00
sig signal: SIGQUIT prints ^\ to the terminal, and does not redisplay the prompt 2025-04-15 15:10:40 +02:00
subst token_type: add field with no logic for populating it 2025-04-15 15:15:30 +02:00
word_search Expansion: correction of type conflict 2025-03-21 10:09:32 +01:00
ft_errno.c Expansion: Most changes dealt with 2025-03-21 18:54:10 +01:00
ft_errno.h Expansion: A fix attempt 2025-03-21 10:14:34 +01:00
get_command.c exec: command to toggle execution 2025-04-15 15:17:51 +02:00
get_command.h debug: special command can turn debug mode on and off 2025-04-15 15:16:51 +02:00
minishell.c exec: command to toggle execution 2025-04-15 15:17:51 +02:00
minishell.h exec: command to toggle execution 2025-04-15 15:17:51 +02:00
treedrawing.c treedrawing: fix bug where rare circumstances could lead to incorrect indent 2025-03-28 14:50:37 +01:00
treedrawing.h treedrawing: fix bug where rare circumstances could lead to incorrect indent 2025-03-28 14:50:37 +01:00