From: deraadt Date: Thu, 12 Sep 1996 20:48:05 +0000 (+0000) Subject: suspicious suspicious X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=15ecb4b491a5bfe2e3360e330a71a7a11357b41c;p=openbsd suspicious suspicious --- diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c index 783bc7ad5b5..515fce5a9f6 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(pathname, ";|&<>`'#!?*()[]^") != NULL) + if(strpbrk(s, ";|&<>`'#!?*()[]^") != NULL) return 1; return 0; }