[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report and fix Sergey. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 90555eca44a19c743d39b7fd2e05f7bc37fb5cb8 by Serhiy Storchaka (Sergey Fedoseev) in branch 'master': bpo-34395: Don't free allocated memory on realloc fail in load_mark() in _pickle.c. (GH-8788)

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ae1f0127298b1193618062fd0c8a3b434656e780 by Serhiy Storchaka (Sergey Fedoseev) in branch '2.7': bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Realloc(). (GH-8785)

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-16 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- pull_requests: +8262 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-16 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- pull_requests: +8258 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-15 Thread miss-islington
miss-islington added the comment: New changeset b14ab447ee3f47d479d899b4001d870569a76c44 by Miss Islington (bot) in branch '3.6': bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756)

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-15 Thread miss-islington
miss-islington added the comment: New changeset 962051eeb0ba486b8ffe4082779b4fa432e3dfb2 by Miss Islington (bot) in branch '3.7': bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756)

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +8253 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +8254 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 67b9cc8e6072a919d2ed7e7ecc8124c8acfb3733 by Serhiy Storchaka (Sergey Fedoseev) in branch 'master': bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756)

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-14 Thread Sergey Fedoseev
Sergey Fedoseev added the comment: > Could you elaborate a bit more on how/where the leak happens? It happens when PyMem_Resize() fails. It was used like this: Py_UCS4 *field = self->field; self->field = PyMem_Resize(field, Py_UCS4, self->field_size); The last statement changes both

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi and thank you for the report. Could you elaborate a bit more on how/where the leak happens? This will help when reviewing the Pull Request. Thanks! -- nosy: +pablogsal ___ Python tracker

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-13 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +8232 stage: -> patch review ___ Python tracker ___ ___

[issue34395] memory leaks in error handling in csv and pickle modules

2018-08-13 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : There are memory leaks in csv and pickle modules caused by incautious usage of PyMem_Resize(). See GitHub PR. -- components: Extension Modules messages: 323487 nosy: sir-sigurd priority: normal severity: normal status: open title: memory leaks in