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

Jochen Schmitt Jochen at herr-schmitt.de
Wed Jan 20 20:27:55 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

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

iJwEAQECAAYFAktXWTIACgkQZLAIBz9lVu/3dAP/R6y8Kkm91Odhc3FmoIY7IZKC
WC7P+Fh5zJQxkkm3cas4XwZXM4Ov9ChXibiRf7/TaYi4/+WFIGuQedOFVkW84Eur
OTLGERtKPhu111SbQ/8EkGZW5oxetENul7+AdA8d++cv73NjiwlivMQcM7V+zduZ
YoOl9whJTVblXifUd1c=
=2+f1
-----END PGP SIGNATURE-----

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


More information about the Bf-committers mailing list