diff options
author | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-13 10:14:54 +0200 |
---|---|---|
committer | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-13 17:16:55 +0200 |
commit | 5e8f1f9c853eff2fe49cc7f1dadb285b3c337c18 (patch) | |
tree | e774a94b78a72c9fc2e6bc8b3025375312cfc699 /src/main.c | |
parent | 766dc76e337c96e71edc698a8ee292014293c44f (diff) | |
download | profani-tty-5e8f1f9c853eff2fe49cc7f1dadb285b3c337c18.tar.gz |
Fix memory corruption crash
Under certain circumstances setting plain_str[len] to 0 might lead to crash and it does not follow the best practices as well. This change allows better handling of buffer copying and prevents crash.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions