Re: Minor documentation patch

Duncan Grisby <[email protected]> Wed, 30 Mar 2011 12:22:32 +0100
Newsgroups gmane.comp.corba.omniorb.devel
Message-ID <1301484152.26377.3.camel@localhost>
On Tue, 2011-03-29 at 21:18 +0100, Floris Bruynooghe wrote:

> One of Debian's QA analysis efforts was to spot insecure usage of
> PYTHONPATH, i.e. PYTHON=$PYTHONPATH:/some/path which could potentially
> put the current working directory on the PYTHONPATH.  In OmniORBpy
> this occurs only in the documentation, however they still regard that
> as a security bug ;-).

I don't understand. Python _always_ searches the current working
directory before looking at PYTHONPATH, so I don't see how accidentally
including the empty path in PYTHONPATH changes anything.

Regardless, I don't want to change that documentation because it's
generic Unix documentation, and not all shells necessarily support the
syntax the change is using.

Duncan.

-- 
 -- Duncan Grisby         --
  -- [email protected]     --
   -- http://www.grisby.org --