mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-05 23:18:08 +01:00
No description
The problem took me a while to find, but the issue here was that push_buf does not add a terminating null byte, and I was only asking push_buf to copy the bytes that contained characters, not the terminating null byte as well. This, combined with the fact that to remove bytes from the end of the buffer, I just placed a null byte a the end, caused some combinations of indentation and dedentations to overwrite the null byte, and not place a null byte after the new indent, which would still contain data from a previous indentation. |
||
|---|---|---|
| libft | ||
| spec | ||
| src | ||
| tests | ||
| .gitignore | ||
| .shellspec | ||
| .valgrindrc | ||
| interesting_tests.md | ||
| Makefile | ||
| NOTES.md | ||
| readline.supp | ||
| report.txt | ||