Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From 8a2a44a6a9066dad2abb7177f3ac9d46e9e9ec66 Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Wed, 3 Mar 2021 02:02:05 +0000 >Subject: [PATCH] reroute.c: cast an integer to "unsigned char" for the > function "isspace()" reroute.c: cast an integer to "unsigned char" for the function "isspace()" Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- reroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reroute.c b/reroute.c index da03112..21b4216 100644 --- a/reroute.c +++ b/reroute.c @@ -30,7 +30,7 @@ reroute(char *route, char *address) name++; for (sp = atpos; (c = *sp); sp++) - if (isspace(c) || c == '>') + if (isspace((unsigned char) c) || c == '>') break; *sp = NUL; -- 2.30.1 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads) Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) -- debconf information excluded -- Bjarni I. Gislason