blob: 7a5597f6948d08538d3fde28371c4569fd2cc485 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-nss_cmd_certutil_certutil.c,v 1.1 2022/04/07 19:08:40 riastradh Exp $
Fix ctype(3) abuse: https://bugzilla.mozilla.org/show_bug.cgi?id=1246768
--- nss/cmd/certutil/certutil.c.orig 2022-03-03 10:18:53.000000000 +0000
+++ nss/cmd/certutil/certutil.c
@@ -3977,7 +3977,7 @@ shutdown:
newargv[1] = nextcommand;
nextarg = nextcommand;
while ((space = PORT_Strpbrk(nextarg, " \f\n\r\t\v"))) {
- while (isspace(*space)) {
+ while (isspace((unsigned char)*space)) {
*space = '\0';
space++;
}
|