Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 17:09:43 +0200
From:      Mark Murray <mark@grondar.za>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Paul Richards <paul@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/update pkg_update.pl 
Message-ID:  <200101041509.f04F9kY06526@gratis.grondar.za>
In-Reply-To: <xzp8zorla59.fsf@flood.ping.uio.no> ; from Dag-Erling Smorgrav <des@ofug.org>  "04 Jan 2001 14:28:02 %2B0100."
References:  <xzp8zorla59.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >   $file not be what you expect, particularly should $file turn out to be
> >   "+REQUIRES" since ">+" is a valid open mode.
> 
> This would not be a problem if you used sysopen() instead of open().

Even better - properly sanitise $file using taint-like checking.

M
-- 
Mark Murray
Warning: this .sig is umop ap!sdn


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101041509.f04F9kY06526>