Message74785
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. |
|
Date |
User |
Action |
Args |
2008-10-15 00:48:43 | vstinner | set | recipients:
+ vstinner |
2008-10-15 00:48:43 | vstinner | set | messageid: <1224031723.55.0.81896983701.issue4126@psf.upfronthosting.co.za> |
2008-10-15 00:48:43 | vstinner | link | issue4126 messages |
2008-10-15 00:48:42 | vstinner | create | |
|