diff options
Diffstat (limited to 'libexec/talkd/process.c')
-rw-r--r-- | libexec/talkd/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c index 6d2df621f04..49c627e0f28 100644 --- a/libexec/talkd/process.c +++ b/libexec/talkd/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.19 2009/10/27 23:59:31 deraadt Exp $ */ +/* $OpenBSD: process.c,v 1.20 2013/11/27 21:25:24 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -81,7 +81,7 @@ process_request(CTL_MSG *mp, CTL_RESPONSE *rp) return; } for (s = mp->l_name; *s; s++) - if (!isprint(*s)) { + if (!isprint((unsigned char)*s)) { syslog(LOG_NOTICE, "Illegal user name. Aborting"); rp->answer = FAILED; return; |