Message82446
On Wed, Feb 18, 2009 at 4:51 PM, Amaury Forgeot d'Arc
<[email protected]> wrote:
>
> Amaury Forgeot d'Arc <[email protected]> added the comment:
>
> I carefully looked at all places that store ->ob_type or Py_TYPE() in a
> local variable, and I could not find any exploit. Most places don't
> reuse the type once the method or the slot has been called.
Thanks for looking!
>
> Two places were harder to analyze: subtype_clear (but an attack would
> use __del__, and use a reference cycle: subtype_clear is never called in
> this case) and PyObject_Generic(Get|Set)Attr (the only escape path to
> python code could be through PyType_Ready; but it has already been
> called for heap types)
Well, I think we can deal with those if they are reported. Go ahead
and apply the patch. |
|
| Date |
User |
Action |
Args |
| 2009-02-19 01:37:52 | benjamin.peterson | set | recipients:
+ benjamin.peterson, amaury.forgeotdarc, jwp |
| 2009-02-19 01:37:50 | benjamin.peterson | link | issue5283 messages |
| 2009-02-19 01:37:48 | benjamin.peterson | create | |
|