This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients koobs, serhiy.storchaka
Date 2017-04-12.17:13:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492017218.53.0.767201958064.issue30058@psf.upfronthosting.co.za>
In-reply-to
Content
The first parameter of kqueue.control() is documented as an iterable. But actually it should have a length. kqueue.control() uses PyObject_Size() for allocating an array and PyObject_GetIter()+PyIter_Next() for iterating kevent objects and filling the array. If the length and the iterator are not consistent this can lead to writing past the end of the array.
History
Date User Action Args
2017-04-12 17:13:38serhiy.storchakasetrecipients: + serhiy.storchaka, koobs
2017-04-12 17:13:38serhiy.storchakasetmessageid: <1492017218.53.0.767201958064.issue30058@psf.upfronthosting.co.za>
2017-04-12 17:13:38serhiy.storchakalinkissue30058 messages
2017-04-12 17:13:38serhiy.storchakacreate