[Bf-committers] Fwd: Re: [Patch]Solving security issues CVE-2008-1103 (partialy) and CVE-2008-4083

Jochen Schmitt Jochen at herr-schmitt.de
Wed Jan 20 20:33:06 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Am 20.01.2010 20:11, schrieb Campbell Barton:
>
>>>>> filter(None, sys.path)
>
>> <filter object at 0x4ca4eb0>
>
>>
>
>> Can write this differently in the bpy __init__.py file
>
> OK, regarding of
>
> http://diveintopython3.org/porting-code-to-python-3-with-2to3.html#filter
>
>
>
it should be:
>
> PyRun_SimpleString("import sys; sys.path = [for i in sys.path if
> i]");
>
> A modified version of the patch is attached on this mail.
>
> Best Regards:
>
> Jochen Schmitt
Sory, should be

PyRun_SimpleString("import sys; sys.path = [i for i in sys.path if i]");

Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iJwEAQECAAYFAktXWnIACgkQZLAIBz9lVu+spgP/bWrKmMW3KtUaWWdLB+2TSiFl
b6Ku/G/mDP0iATzWEV3ev/2xslUyhcY4nctQMte5I6dWkPaAygQ4qKs9FleL6b0O
ppEU1N7Lc2R31IDyFQciMGAoIP3PsUb9+vwz9nDNe7nx51EkZgPUmyGqqM/nMXVQ
/fo/jkJ2pilR/s1zdAo=
=iET6
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: blender-CVE-2008-4863.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
Url : http://lists.blender.org/pipermail/bf-committers/attachments/20100120/72cd8308/attachment.bin 


More information about the Bf-committers mailing list