mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-111178: fix UBSan failures in Modules/_sqlite
(GH-129087)
* fix UBSan failures for `pysqlite_Blob` * fix UBSan failures for `pysqlite_Connection` * fix UBSan failures for `pysqlite_Cursor` * fix UBSan failures for `pysqlite_PrepareProtocol` * fix UBSan failures for `pysqlite_Row` * fix UBSan failures for `pysqlite_Statement` * suppress unused return values
This commit is contained in:
parent
9d63ae5fe5
commit
881984b41a
7 changed files with 101 additions and 55 deletions
|
@ -617,7 +617,7 @@ module_clear(PyObject *module)
|
|||
static void
|
||||
module_free(void *module)
|
||||
{
|
||||
module_clear((PyObject *)module);
|
||||
(void)module_clear((PyObject *)module);
|
||||
}
|
||||
|
||||
#define ADD_TYPE(module, type) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue