Allan McRae pushed to branch master at Pacman / Pacman Commits: c9c56be3 by Allan McRae at 2024-02-26T03:07:08+00:00 pacman/util.c: fix potential buffer overflow in string_length A potential buffer overflow could occur if a detected terminal escape sequence was not for a terminal colour (i.e. did not contain an "m"). Fix the potential buffer overflow while explicitly detecting only terminal colour escape sequences. Any other escape sequence is unexpected, and just gets pushed to the terminal. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 1 changed file: - src/pacman/util.c View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/c9c56be3960c7ba7ccacc7cc... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/c9c56be3960c7ba7ccacc7cc... You're receiving this email because of your account on gitlab.archlinux.org.