[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2015-02-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mail

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2015-02-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0b6efed4766 by Benjamin Peterson in branch '3.4': avoid reading unallocated memory when argc == 0 (closes #22633) https://hg.python.org/cpython/rev/d0b6efed4766 New changeset 687b970c8ba9 by Benjamin Peterson in branch '2.7': avoid reading unalloca

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2015-02-14 Thread Mark Lawrence
Mark Lawrence added the comment: Would someone please review the inline patch, thanks. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2014-10-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2014-10-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2014-10-14 Thread Guido
New submission from Guido: Python/frozenmain.c:27 - https://hg.python.org/cpython/file/424fbf011176/Python/frozenmain.c#l27 Memory is allocated for sizeof(wchar_t*) * argc bytes. If argc is 0 (which is a possibility, see below), then 0 bytes are attempted to allocate. Note that PyMem_RawMallo