[issue24098] Multiple use after frees in obj2ast_* methods

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1008 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24098] Multiple use after frees in obj2ast_* methods

2016-10-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24098] Multiple use after frees in obj2ast_* methods

2016-10-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47d5bf5a846f by Serhiy Storchaka in branch '2.7': Issue #24098: Fixed possible crash when AST is changed in process of https://hg.python.org/cpython/rev/47d5bf5a846f New changeset f575710b5f56 by Serhiy Storchaka in branch '3.5': Issue #24098: Fixed

[issue24098] Multiple use after frees in obj2ast_* methods

2016-10-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24098] Multiple use after frees in obj2ast_* methods

2016-09-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file44839/issue24098-iterate-tuple.patch ___ Python tracker ___ ___ Python-bu

[issue24098] Multiple use after frees in obj2ast_* methods

2016-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Bad things happen not only when a list shrinks, but also when it grows during iteration. The one solution is to check if the size is changed on every iteration. The other solution is to convert a list to a tuple for iterating. -- versions: +Python 2

[issue24098] Multiple use after frees in obj2ast_* methods

2016-09-26 Thread Berker Peksag
Berker Peksag added the comment: Please note that Python/Python-ast.c is automatically generated by Parser/asdl_c.py. -- nosy: +benjamin.peterson, berker.peksag ___ Python tracker _

[issue24098] Multiple use after frees in obj2ast_* methods

2016-09-26 Thread Christian Heimes
Changes by Christian Heimes : -- priority: normal -> high stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue24098] Multiple use after frees in obj2ast_* methods

2016-09-26 Thread paul
paul added the comment: Fix by replacing static 'len' in loops with a macro, so that mutations of size of the containter do not casue OOB reads. -- keywords: +patch Added file: http://bugs.python.org/file44830/issue24098.patch ___ Python tracker <

[issue24098] Multiple use after frees in obj2ast_* methods

2015-07-03 Thread paul
paul added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue24098] Multiple use after frees in obj2ast_* methods

2015-07-02 Thread paul
paul added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-12 Thread paul
paul added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-08 Thread paul
paul added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-01 Thread Christian Heimes
Changes by Christian Heimes : -- components: +Extension Modules stage: -> needs patch versions: +Python 3.5 ___ Python tracker ___ __

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-01 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-01 Thread paul
New submission from paul: # 3617for (i = 0; i < len; i++) { # (gdb) print *(PyListObject*)tmp # $1 = {ob_base = {ob_base = {_ob_next = 0x4056f8f4, _ob_prev = 0x4057329c, ob_refcnt = 2, ob_type = 0x830e1c0 }, # ob_size = 1337}, ob_item = 0x8491ae0, allocated = 1432} # (gdb)