[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: I hope that the change will satisfy the god of static analyzers :-) I discussed with Charalampos and we agreed to not backport this change, since it's a false alarm and not a real bug. I close the issue. -- resolution: -> fixed stage: patch review -

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset a10d426bab66a4e1f20d5e1b9aee3dbb435cf309 by Victor Stinner (stratakis) in branch 'master': bpo-36292: Mark unreachable code as such in long bitwise ops (GH-12333) https://github.com/python/cpython/commit/a10d426bab66a4e1f20d5e1b9aee3dbb435cf309

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-14 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: This code is unreachable. Will mark it as such. -- ___ Python tracker ___ ___ Python-bugs-

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-14 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- versions: -Python 2.7, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-14 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- keywords: +patch pull_requests: +12304 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-14 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36292] Coverity scan: Resource leaks in longobject.c

2019-03-14 Thread Charalampos Stratakis
New submission from Charalampos Stratakis : The coverity scan was run on python2, however the same defect seems to exist in python3 as well. Error: RESOURCE_LEAK (CWE-772): [#def69] Python-2.7.15/Objects/longobject.c:3793: alloc_fn: Storage is returned from allocation function "_PyLong_New".