summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-21 22:17:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-21 22:17:09 +0000
commitae407dd6347705bd48a38e6b336875e5b6721710 (patch)
tree5315ab6185c66ab2d427e219011a34fe1b342ed4 /usr.sbin
parent35a176f888723e536ba3b9b6b657866a53516838 (diff)
strengthen suspicious(); jmcdonal@unf.edu
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpc.pcnfsd/pcnfsd_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c
index b963ace358b..34d39b60d55 100644
--- a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c
+++ b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c
@@ -118,7 +118,7 @@ pr_queue queue = NULL;
int suspicious (s)
char *s;
{
- if(strpbrk(s, ";|&<>`'#!?*()[]^") != NULL)
+ if(strpbrk(s, ";|&<>`'#!?*()[]^/${}\n\r\"\\:") != NULL)
return 1;
return 0;
}