Task #119349 - python-cffi-2.0.0-4.fc45/scan-results.err
back to task #119349download
Error: COMPILER_WARNING (CWE-477):
cffi-2.0.0/src/c/_cffi_backend.c: scope_hint: In function ‘_my_PyLong_AsUnsignedLongLong’
cffi-2.0.0/src/c/_cffi_backend.c:955:13: warning[-Wdeprecated-declarations]: ‘_PyLong_Sign’ is deprecated
# 955 | if (_PyLong_Sign(ob) < 0)
# | ^~
/usr/include/python3.14/longobject.h:171: included_from: Included from here.
/usr/include/python3.14/Python.h:92: included_from: Included from here.
cffi-2.0.0/src/c/_cffi_backend.c:2: included_from: Included from here.
/usr/include/python3.14/cpython/longobject.h:38:37: note: declared here
# 38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
# | ^~~~~~~~~~~~
# 953| if (PyLong_Check(ob)) {
# 954| if (strict) {
# 955|-> if (_PyLong_Sign(ob) < 0)
# 956| goto negative;
# 957| return PyLong_AsUnsignedLongLong(ob);
Error: COMPILER_WARNING (CWE-477):
cffi-2.0.0/src/c/_cffi_backend.c: scope_hint: In function ‘_my_PyObject_AsBool’
cffi-2.0.0/src/c/_cffi_backend.c:4083:9: warning[-Wdeprecated-declarations]: ‘_PyLong_Sign’ is deprecated
# 4083 | return _PyLong_Sign(ob) != 0;
# | ^~~~~~
/usr/include/python3.14/cpython/longobject.h:38:37: note: declared here
# 38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v);
# | ^~~~~~~~~~~~
# 4081| #endif
# 4082| if (PyLong_Check(ob)) {
# 4083|-> return _PyLong_Sign(ob) != 0;
# 4084| }
# 4085| else if (PyFloat_Check(ob)) {
Error: COMPILER_WARNING (CWE-477):
cffi-2.0.0/src/c/_cffi_backend.c: scope_hint: In function ‘b_do_dlopen’
cffi-2.0.0/src/c/_cffi_backend.c:4658:22: warning[-Wdeprecated-declarations]: ‘Py_FileSystemDefaultEncoding’ is deprecated
# 4658 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.14/Python.h:110: included_from: Included from here.
/usr/include/python3.14/fileobject.h:22:46: note: declared here
# 22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 4656| #endif
# 4657| if (!PyArg_ParseTuple(args, "et|i:load_library",
# 4658|-> Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
# 4659| return NULL;
# 4660| #if PY_MAJOR_VERSION < 3
Error: COMPILER_WARNING (CWE-563):
cffi-2.0.0/src/c/cffi1_module.c:3: included_from: Included from here.
cffi-2.0.0/src/c/_cffi_backend.c:8173: included_from: Included from here.
cffi-2.0.0/src/c/realize_c_type.c: scope_hint: In function ‘init_global_types_dict’
cffi-2.0.0/src/c/realize_c_type.c:32:16: warning[-Wunused-variable]: unused variable ‘i’
# 32 | Py_ssize_t i;
# | ^
# 30| {
# 31| int err;
# 32|-> Py_ssize_t i;
# 33| PyObject *ct_void, *ct_char, *ct2, *pnull;
# 34| /* XXX some leaks in case these functions fail, but well,