[issue36594] Undefined behavior due to incorrect usage of %p in format strings

2019-04-10 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12698 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36594> ___ ___ Py

[issue36594] Undefined behavior due to incorrect usage of %p in format strings

2019-04-10 Thread Zackery Spytz
New submission from Zackery Spytz : The attached PR fixes incorrect usages of %p in format strings. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36594] Undefined behavior due to incorrect usage of %p in format strings

2019-04-10 Thread Zackery Spytz
Change by Zackery Spytz : -- components: Extension Modules, Interpreter Core nosy: ZackerySpytz priority: normal severity: normal status: open title: Undefined behavior due to incorrect usage of %p in format strings versions: Python 2.7, Python 3.7, Python 3.8

[issue36589] Incorrect error handling in curses.update_lines_cols()

2019-04-10 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12694 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36589> ___ ___ Py

[issue36589] Incorrect error handling in curses.update_lines_cols()

2019-04-10 Thread Zackery Spytz
New submission from Zackery Spytz : update_lines_cols() returns 0 if an error occurs, but the generated AC code checks for a return value of -1. -- components: Extension Modules messages: 339881 nosy: ZackerySpytz priority: normal severity: normal status: open title: Incorrect error

[issue33632] undefined behaviour: signed integer overflow in threadmodule.c

2019-04-08 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR based on Martin Panter's patch. -- components: +Extension Modules -Library (Lib) nosy: +ZackerySpytz versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue33

[issue33632] undefined behaviour: signed integer overflow in threadmodule.c

2019-04-08 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12652 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33632> ___ ___ Py

[issue9194] winreg:fixupMultiSZ should check that P < Q in the inner loop

2019-04-04 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz, eryksun versions: +Python 3.7, Python 3.8 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker <https://bugs.python.org/issue9

[issue9194] winreg:fixupMultiSZ should check that P < Q in the inner loop

2019-04-04 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12614 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/iss

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-03 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +12605 ___ Python tracker <https://bugs.python.org/issue36504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12589 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36504> ___ ___ Py

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-02 Thread Zackery Spytz
New submission from Zackery Spytz : Signed integer overflow can occur in the overflow check in PyCArrayType_new() if "itemsize" is large enough. -- components: Extension Modules, ctypes messages: 339326 nosy: ZackerySpytz priority: normal severity: normal status: open tit

[issue36150] Possible assertion failures due to _ctypes.c's PyCData_reduce()

2019-03-31 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +12575 ___ Python tracker <https://bugs.python.org/issue36150> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35947] Update libffi_msvc to current version of libffi

2019-03-30 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +12562 ___ Python tracker <https://bugs.python.org/issue35947> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36150] Possible assertion failures due to _ctypes.c's PyCData_reduce()

2019-03-29 Thread Zackery Spytz
Zackery Spytz added the comment: I again encountered an assertion failure that involved PyCData_reduce(). In that function, PyBytes_FromStringAndSize() may be evaluated before PyObject_GetAttrString(). If a MemoryError occurs in PyBytes_FromStringAndSize(), an assertion failure will occur

[issue36459] A possible double PyMem_FREE() due to tokenizer.c's tok_nextc()

2019-03-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12541 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36459> ___ ___ Py

[issue36459] A possible double PyMem_FREE() due to tokenizer.c's tok_nextc()

2019-03-27 Thread Zackery Spytz
New submission from Zackery Spytz : Commit cb90c89de14aab636739b3e810cf949e47b54a0c added a PyMem_FREE(tok->buf) call in tok_nextc() if a PyMem_REALLOC() call fails. This will cause a double free when PyTokenizer_Free() is called on the tokenizer state. -- components: Interpre

[issue36447] test__xxsubinterpreters leaked references and memory blocks

2019-03-27 Thread Zackery Spytz
Change by Zackery Spytz : -- title: test__xxsubinterpreters leaked regards and memory blocks -> test__xxsubinterpreters leaked references and memory blocks ___ Python tracker <https://bugs.python.org/issu

[issue36430] A possible reference leak in itertools.count()

2019-03-25 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12498 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36430> ___ ___ Py

[issue36430] A possible reference leak in itertools.count()

2019-03-25 Thread Zackery Spytz
New submission from Zackery Spytz : "long_step" is leaked in itertools_count_impl() if the type->tp_alloc() call fails. -- components: Extension Modules messages: 338853 nosy: ZackerySpytz priority: normal severity: normal status: open title: A possible r

[issue36421] A possible double decref in _ctypes.c's PyCArrayType_new()

2019-03-25 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +12484 ___ Python tracker <https://bugs.python.org/issue36421> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36421] A possible double decref in _ctypes.c's PyCArrayType_new()

2019-03-24 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12481 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36421> ___ ___ Py

[issue36421] A possible double decref in _ctypes.c's PyCArrayType_new()

2019-03-24 Thread Zackery Spytz
New submission from Zackery Spytz : In PyCArrayType_new(), type_attr is assigned to stgdict->proto. If the PyDict_Update() call fails in that function, type_attr will be decrefed an extra time when stgdict is deallocated. I'll create a PR for this issue. -- components: Extens

[issue36412] A possible crash in dictobject.c's new_dict()

2019-03-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12470 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36412> ___ ___ Py

[issue36412] A possible crash in dictobject.c's new_dict()

2019-03-23 Thread Zackery Spytz
New submission from Zackery Spytz : PyDict_New() calls new_dict() with the "empty_values" array. If the PyObject_GC_New() call in new_dict() fails, new_dict() will call PyMem_FREE() on this array, causing a crash. -- components: Interpreter Core messages: 338711 nosy: Za

[issue35284] Incomplete error handling in Python/compile.c:compiler_call()

2019-03-22 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +12446 ___ Python tracker <https://bugs.python.org/issue35284> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36398] A possible crash in structseq.c's structseq_repr()

2019-03-21 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12445 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36398> ___ ___ Py

[issue36398] A possible crash in structseq.c's structseq_repr()

2019-03-21 Thread Zackery Spytz
New submission from Zackery Spytz : If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter. -- components: Interpreter Core messages: 338584 nosy: ZackerySpytz priority: normal severity: normal

[issue36374] A possible null pointer dereference in compile.c's merge_consts_recursive()

2019-03-19 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12403 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36374> ___ ___ Py

[issue36374] A possible null pointer dereference in compile.c's merge_consts_recursive()

2019-03-19 Thread Zackery Spytz
New submission from Zackery Spytz : If PyDict_SetDefault() fails in merge_consts_recursive(), Py_INCREF() will be called on a null pointer. -- components: Interpreter Core messages: 338411 nosy: ZackerySpytz priority: normal severity: normal status: open title: A possible null pointer

[issue36150] Possible assertion failures due to _ctypes.c's PyCData_reduce()

2019-03-02 Thread Zackery Spytz
Zackery Spytz added the comment: I'm sorry. I misunderstood the behavior of Py_BuildValue(). -- ___ Python tracker <https://bugs.python.org/issue36150> ___ ___

[issue36150] Possible assertion failures due to _ctypes.c's PyCData_reduce()

2019-02-28 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12113 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36150> ___ ___ Py

[issue36150] Possible assertion failures due to _ctypes.c's PyCData_reduce()

2019-02-28 Thread Zackery Spytz
New submission from Zackery Spytz : The PyBytes_FromStringAndSize() and PyObject_GetAttrString() calls in PyCData_reduce() are not checked for failure. -- components: Extension Modules, ctypes messages: 336866 nosy: ZackerySpytz priority: normal severity: normal status: open title

[issue36140] An incorrect check in _msi.c's msidb_getsummaryinformation()

2019-02-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12093 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36140> ___ ___ Py

[issue36140] An incorrect check in _msi.c's msidb_getsummaryinformation()

2019-02-27 Thread Zackery Spytz
New submission from Zackery Spytz : msidb_getsummaryinformation() checks the wrong variable after calling PyObject_NEW(). -- components: Windows messages: 336776 nosy: ZackerySpytz, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2019-02-24 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz ___ Python tracker <https://bugs.python.org/issue24643> ___ ___ Pytho

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2019-02-24 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12050 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35991] potential double free in Modules/_randommodule.c line 295 and line 317

2019-02-14 Thread Zackery Spytz
Change by Zackery Spytz : -- components: +Extension Modules nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue35

[issue35991] potential double free in Modules/_randommodule.c line 295 and line 317

2019-02-13 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +11880 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35991> ___ ___ Py

[issue21360] mailbox.Maildir should ignore files named with a leading dot

2019-02-12 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue21

[issue35504] `del OSError().characters_written` raises `SystemError`

2018-12-20 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +10500 ___ Python tracker <https://bugs.python.org/issue35504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10320] printf %qd is nonstandard

2018-12-18 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +10465 ___ Python tracker <https://bugs.python.org/issue10320> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35529] A reference counting bug in ctypes

2018-12-18 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10464 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35529> ___ ___ Py

[issue35529] A reference counting bug in ctypes

2018-12-18 Thread Zackery Spytz
New submission from Zackery Spytz : In PyCFuncPtr_FromDll(), "dll" will leak if an error occurs in _validate_paramflags() or GenericPyCData_new(). -- components: Extension Modules, ctypes messages: 332101 nosy: ZackerySpytz priority: normal severity: normal status:

[issue35504] `del OSError().characters_written` raises `SystemError`

2018-12-15 Thread Zackery Spytz
Zackery Spytz added the comment: PR 11175 fixes some other related SystemErrors (and segfaults). -- nosy: +ZackerySpytz ___ Python tracker <https://bugs.python.org/issue35

[issue35504] `del OSError().characters_written` raises `SystemError`

2018-12-15 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +10416 ___ Python tracker <https://bugs.python.org/issue35504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-12-14 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz versions: +Python 3.8 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue32

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2018-12-14 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10403 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32810> ___ ___ Py

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2018-12-12 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10359 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35470> ___ ___ Py

[issue35470] A deadly decref in _PyImport_FindExtensionObjectEx()

2018-12-12 Thread Zackery Spytz
New submission from Zackery Spytz : In _PyImport_FindExtensionObjectEx(), "mod" shouldn't be decrefed if _PyState_AddModule() fails. -- components: Interpreter Core messages: 331693 nosy: ZackerySpytz priority: normal severity: normal status: open title: A dea

[issue20602] sys.flags and sys.float_info disappear at shutdown

2018-12-09 Thread Zackery Spytz
Zackery Spytz added the comment: Ping. -- ___ Python tracker <https://bugs.python.org/issue20602> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35441] Dead (and buggy) code due to mishandling of PyList_SetItem() errors

2018-12-08 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10270 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35441> ___ ___ Py

[issue35441] Dead (and buggy) code due to mishandling of PyList_SetItem() errors

2018-12-08 Thread Zackery Spytz
Change by Zackery Spytz : -- components: Extension Modules nosy: ZackerySpytz priority: normal severity: normal status: open title: Dead (and buggy) code due to mishandling of PyList_SetItem() errors type: behavior versions: Python 2.7, Python 3.7, Python 3.8

[issue35436] Add missing PyErr_NoMemory() calls

2018-12-07 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +10256 ___ Python tracker <https://bugs.python.org/issue35436> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35436] Add missing PyErr_NoMemory() calls

2018-12-06 Thread Zackery Spytz
New submission from Zackery Spytz : The attached PR adds some missing PyErr_NoMemory() calls. -- ___ Python tracker <https://bugs.python.org/issue35436> ___ ___

[issue35436] Add missing PyErr_NoMemory() calls

2018-12-06 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10250 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35436> ___ ___ Py

[issue35436] Add missing PyErr_NoMemory() calls

2018-12-06 Thread Zackery Spytz
Change by Zackery Spytz : -- components: Extension Modules, Interpreter Core nosy: ZackerySpytz priority: normal severity: normal status: open title: Add missing PyErr_NoMemory() calls type: behavior versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-12-06 Thread Zackery Spytz
Change by Zackery Spytz : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35414] A reference counting bug in PyState_RemoveModule()

2018-12-04 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10153 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35414> ___ ___ Py

[issue35414] A reference counting bug in PyState_RemoveModule()

2018-12-04 Thread Zackery Spytz
New submission from Zackery Spytz : There's a missing Py_INCREF(Py_None) in PyState_RemoveModule(). -- components: Interpreter Core messages: 331091 nosy: ZackerySpytz priority: normal severity: normal status: open title: A reference counting bug in PyState_RemoveModule() versions

[issue10320] printf %qd is nonstandard

2018-12-02 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/issue10

[issue10320] printf %qd is nonstandard

2018-12-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10088 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35356] A possible reference leak in the nis module

2018-11-29 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10054 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35356> ___ ___ Py

[issue35356] A possible reference leak in the nis module

2018-11-29 Thread Zackery Spytz
New submission from Zackery Spytz : In nis_maps(), the result of PyUnicode_FromString() is leaked if the PyList_Append() call fails. -- components: Extension Modules messages: 330747 nosy: ZackerySpytz priority: normal severity: normal status: open title: A possible reference leak

[issue35337] Check index in PyTuple_GET_ITEM/PyTuple_SET_ITEM in debug mode

2018-11-28 Thread Zackery Spytz
Zackery Spytz added the comment: See also #14614. -- nosy: +ZackerySpytz ___ Python tracker <https://bugs.python.org/issue35337> ___ ___ Python-bugs-list mailin

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-23 Thread Zackery Spytz
New submission from Zackery Spytz : The attached PR fixes a reference leak in _operator.c's methodcaller_repr(). -- ___ Python tracker <https://bugs.python.org/issue35

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9941 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35303> ___ ___ Py

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-23 Thread Zackery Spytz
Change by Zackery Spytz : -- components: Extension Modules nosy: ZackerySpytz priority: normal severity: normal status: open title: A reference leak in _operator.c's methodcaller_repr() versions: Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue35284] Incomplete error handling in the compiler's compiler_call()

2018-11-20 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9873 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35284> ___ ___ Py

[issue35284] Incomplete error handling in the compiler's compiler_call()

2018-11-20 Thread Zackery Spytz
New submission from Zackery Spytz : compiler_call() needs to check if an error occurred during the maybe_optimize_method_call() call. -- components: Interpreter Core messages: 330159 nosy: ZackerySpytz priority: normal severity: normal status: open title: Incomplete error handling

[issue35269] A possible segfault involving a newly-created coroutine

2018-11-17 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9829 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35269> ___ ___ Py

[issue35269] A possible segfault involving a newly-created coroutine

2018-11-17 Thread Zackery Spytz
New submission from Zackery Spytz : If compute_cr_origin() fails in PyCoro_New(), coro->cr_origin won't be initialized. This will cause a crash during the coroutine's deallocation. I'll create a PR for this issue. -- components: Interpreter Core, asyncio messages: 330031 n

[issue25451] tkinter: PhotoImage transparency methods

2018-11-07 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue25

[issue25451] tkinter: PhotoImage transparency methods

2018-11-07 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9690 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35068] [2.7] Possible crashes due to incorrect error handling in pyexpat.c

2018-10-25 Thread Zackery Spytz
New submission from Zackery Spytz : The attached PR fixes several error handling bugs in pyexpat.c. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35068] [2.7] Possible crashes due to incorrect error handling in pyexpat.c

2018-10-25 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9432 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35068> ___ ___ Py

[issue35068] [2.7] Possible crashes due to incorrect error handling in pyexpat.c

2018-10-25 Thread Zackery Spytz
Change by Zackery Spytz : -- components: Extension Modules nosy: ZackerySpytz priority: normal severity: normal status: open title: [2.7] Possible crashes due to incorrect error handling in pyexpat.c type: crash versions: Python 2.7 ___ Python

[issue16965] 2to3 should rewrite execfile() to open in 'rb' mode

2018-10-15 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +9253 ___ Python tracker <https://bugs.python.org/issue16965> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-10-15 Thread Zackery Spytz
Zackery Spytz added the comment: It is not properly checked: Py_DECREF() is always called on the result of get_class(), but get_class() can return NULL. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-10-15 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9249 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34987> ___ ___ Py

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-10-15 Thread Zackery Spytz
New submission from Zackery Spytz : The get_class() call in save_reduce() is not checked for failure. -- components: Extension Modules messages: 327732 nosy: ZackerySpytz priority: normal severity: normal status: open title: A possible null pointer dereference in _pickle.c's

[issue34940] Possible assertion failure due to _check_for_legacy_statements()

2018-10-08 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9151 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34940> ___ ___ Py

[issue34940] Possible assertion failure due to _check_for_legacy_statements()

2018-10-08 Thread Zackery Spytz
New submission from Zackery Spytz : The PyUnicode_Tailmatch() and PyUnicode_FromString() calls in _check_for_legacy_statements() are not properly checked for failure. -- components: Interpreter Core messages: 327379 nosy: ZackerySpytz priority: normal severity: normal status: open

[issue34899] Possible assertion failure due to int_from_bytes_impl()

2018-10-08 Thread Zackery Spytz
Change by Zackery Spytz : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34910] PyObject_Print() doesn't always return -1 on error

2018-10-05 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9119 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34910> ___ ___ Py

[issue34910] PyObject_Print() doesn't always return -1 on error

2018-10-05 Thread Zackery Spytz
New submission from Zackery Spytz : PyObject_Print() returns 0 if PyUnicode_AsEncodedString() fails. -- components: Interpreter Core messages: 327197 nosy: ZackerySpytz priority: normal severity: normal status: open title: PyObject_Print() doesn't always return -1 on error type

[issue34899] Possible assertion failure due to int_from_bytes_impl()

2018-10-04 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9090 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34899> ___ ___ Py

[issue34899] Possible assertion failure due to int_from_bytes_impl()

2018-10-04 Thread Zackery Spytz
New submission from Zackery Spytz : If _PyLong_FromByteArray() fails in int_from_bytes_impl(), PyObject_CallFunctionObjArgs() might be called with a live exception. -- components: Interpreter Core messages: 327091 nosy: ZackerySpytz priority: normal severity: normal status: open title

[issue34879] bytesobject.c: Possible null pointer dereference due to formatfloat()

2018-10-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9069 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34879> ___ ___ Py

[issue34879] bytesobject.c: Possible null pointer dereference due to formatfloat()

2018-10-02 Thread Zackery Spytz
New submission from Zackery Spytz : The PyBytes_FromStringAndSize() call in formatfloat() is not checked for failure. -- components: Interpreter Core messages: 326933 nosy: ZackerySpytz priority: normal severity: normal status: open title: bytesobject.c: Possible null pointer

[issue34826] io.BufferedReader crashes in 2.7 on memoryview attribute access

2018-09-27 Thread Zackery Spytz
Zackery Spytz added the comment: See #27195 and PR 8415. -- nosy: +ZackerySpytz ___ Python tracker <https://bugs.python.org/issue34826> ___ ___ Python-bug

[issue34824] _ssl.c: Possible null pointer dereference

2018-09-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +9003 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34824> ___ ___ Py

[issue34824] _ssl.c: Possible null pointer dereference

2018-09-27 Thread Zackery Spytz
New submission from Zackery Spytz : If _PyBytes_Resize() fails in _ssl_MemoryBIO_read_impl(), Py_DECREF() will be called on a null pointer. -- assignee: christian.heimes components: Extension Modules, SSL messages: 326573 nosy: ZackerySpytz, christian.heimes priority: normal severity

[issue5950] Make zipimport work with zipfile containing comments

2018-09-24 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR. -- nosy: +ZackerySpytz versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue5

[issue5950] Make zipimport work with zipfile containing comments

2018-09-24 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +8951 ___ Python tracker <https://bugs.python.org/issue5950> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32990] Supporting extensible format(PCM) for wave.open(read-mode)

2018-09-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8921 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-22 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8904 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34770> ___ ___ Py

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-22 Thread Zackery Spytz
New submission from Zackery Spytz : The GlobalLock() call in UpdateDropDescription() is not checked for failure. -- messages: 326098 nosy: ZackerySpytz priority: normal severity: normal status: open title: pyshellext.cpp: Possible null pointer dereference type: behavior versions

[issue34735] Modules/timemodule.c: Memory leak in time_strftime()

2018-09-19 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8838 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34735> ___ ___ Py

[issue34735] Modules/timemodule.c: Memory leak in time_strftime()

2018-09-19 Thread Zackery Spytz
New submission from Zackery Spytz : There is a missing PyMem_Free(format) in time_strftime(). I'll create a PR. -- components: Extension Modules messages: 325754 nosy: ZackerySpytz priority: normal severity: normal status: open title: Modules/timemodule.c: Memory leak in time_strftime

<    1   2   3   4   5   6   7   8   >