[Python-Dev] Potential NULL pointer dereference in descrobject.c

Eli Collins elic at astllc.org
Sat Dec 17 17:02:05 CET 2011


In that same code, right before "PY_DECREF(descr)", should there also be a
"PY_XDECREF(type)"? it looks like it might leak a reference to "type"
otherwise.

the line in question -
http://hg.python.org/cpython/file/8c355edc5b1d/Objects/descrobject.c#l628

- Eli Collins

On Sat, Dec 17, 2011 at 8:02 AM, Benjamin Peterson <benjamin at python.org>wrote:

> 2011/12/17 Michael Mueller <mmueller at vigilantsw.com>:
> >
> > Hopefully someone can take a look and determine the appropriate fix.
>
> Fixed.
>
>
> --
> Regards,
> Benjamin
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/elic%40assurancetechnologies.com
>



-- 
 Eli Collins   elic at assurancetechnologies.com
Software Development & I.T. Consulting
Assurance Technologies   www.assurancetechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20111217/708b738f/attachment.html>


More information about the Python-Dev mailing list