This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2008-10-15.00:48:42
SpamBayes Score 2.0451637e-06
Marked as misclassified No
Message-id <1224031723.55.0.81896983701.issue4126@psf.upfronthosting.co.za>
In-reply-to
Content
Note: I don't have Windows at home to test my patch on Windows. At 
least, the patch works correctly on Ubuntu Gutsy/i386.

Example to demonstrate the issue:
$ env -i a=a b=$(echo -e '--\xff--') c=c ./python -c "import os; 
os.execvp('/usr/bin/env', ['/usr/bin/env'])"
a=a
b=--�--
c=c

Patched Python:
$ env -i a=a b=$(echo -e '--\xff--') c=c ./python -c "import os; 
os.execvp('/usr/bin/env', ['/usr/bin/env'])"
a=a
c=c

I tested Python 2.5: b is also removed, but Python 2.6 keeps the 
variable b.
History
Date User Action Args
2008-10-15 00:48:43vstinnersetrecipients: + vstinner
2008-10-15 00:48:43vstinnersetmessageid: <1224031723.55.0.81896983701.issue4126@psf.upfronthosting.co.za>
2008-10-15 00:48:43vstinnerlinkissue4126 messages
2008-10-15 00:48:42vstinnercreate