python-xkbregistry-0.3-2.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
python-xkbregistry-0.3-build/xkbregistry-0.3/build/temp.linux-x86_64-cpython-313/xkbregistry._ffi.c:876:5: warning[unix.Malloc]: Memory allocated by alloca() should not be deallocated
#  874|     Py_BEGIN_ALLOW_THREADS
#  875|     _cffi_restore_errno();
#  876|->   { free(x0); }
#  877|     _cffi_save_errno();
#  878|     Py_END_ALLOW_THREADS

Error: CLANG_WARNING: [#def2]
python-xkbregistry-0.3-build/xkbregistry-0.3/build/temp.linux-x86_64-cpython-313/xkbregistry._ffi.c:881:32: warning[unix.Malloc]: Use of memory after it is freed
#  879|   
#  880|     (void)self; /* unused */
#  881|->   if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free);
#  882|     Py_INCREF(Py_None);
#  883|     return Py_None;

Error: CLANG_WARNING: [#def3]
python-xkbregistry-0.3-build/xkbregistry-0.3/xkbregistry/_ffi.c:876:5: warning[unix.Malloc]: Memory allocated by alloca() should not be deallocated
#  874|     Py_BEGIN_ALLOW_THREADS
#  875|     _cffi_restore_errno();
#  876|->   { free(x0); }
#  877|     _cffi_save_errno();
#  878|     Py_END_ALLOW_THREADS

Error: CLANG_WARNING: [#def4]
python-xkbregistry-0.3-build/xkbregistry-0.3/xkbregistry/_ffi.c:881:32: warning[unix.Malloc]: Use of memory after it is freed
#  879|   
#  880|     (void)self; /* unused */
#  881|->   if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free);
#  882|     Py_INCREF(Py_None);
#  883|     return Py_None;

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-208.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepython-xkbregistry-0.3-2.fc41
store-results-to/tmp/tmppqkm824s/python-xkbregistry-0.3-2.fc41.tar.xz
time-created2024-07-03 17:35:40
time-finished2024-07-03 17:36:34
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppqkm824s/python-xkbregistry-0.3-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmppqkm824s/python-xkbregistry-0.3-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9