From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 05 Feb 2005 18:15:22 +0000 Subject: Re: [PATCH, UDEV] change no_trailing_slash() to remove all Message-Id: <1107627322.5494.135.camel@localhost.localdomain> List-Id: References: <200502051818.54277.mbuesch@freenet.de> In-Reply-To: <200502051818.54277.mbuesch@freenet.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, 2005-02-05 at 18:18 +0100, Michael Buesch wrote: > This changes no_trailing_slash() to remove all trailing slashes > and not just the last one. > This protects against crazy users which do: > export SYSFS_PATH="/sys//" > or something similiar. Applied. Thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel