Bug#1010071: wireguard-tools: the wg tool outputs color on monochrome terminals

2022-04-24 Thread Axel Scheepers
Hi again, This patch avoids out of bounds access. --- terminal.c.orig 2022-04-24 13:57:34.231668500 +0200 +++ terminal.c 2022-04-24 14:34:35.798847083 +0200 @@ -24,8 +24,10 @@ mode = true; else if (var && !strcmp(var, "never")) mode = false; -

Bug#1010071: wireguard-tools: the wg tool outputs color on monochrome terminals

2022-04-23 Thread Axel
Package: wireguard-tools Version: 1.0.20210223-1 Severity: normal Dear Maintainer, The wg tool outputs color on monochrome terminals, it should either default to no color output or use a proper terminal library like ncurses to output color instead of just querying if the terminal is a tty. I