Newly introduced defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
libdrm-2.4.121-build/libdrm-2.4.121/amdgpu/amdgpu_vamgr.c: scope_hint: In function ‘amdgpu_vamgr_init’
libdrm-2.4.121-build/libdrm-2.4.121/amdgpu/amdgpu_vamgr.c:56:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘n’
#   54|   	pthread_mutex_lock(&mgr->bo_va_mutex);
#   55|   	n = calloc(1, sizeof(struct amdgpu_bo_va_hole));
#   56|-> 	n->size = mgr->va_max - start;
#   57|   	n->offset = start;
#   58|   	list_add(&n->list, &mgr->va_holes);

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-66.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibdrm-2.4.120-3.fc40
diffbase-store-results-to/tmp/tmpg5c7xpfi/libdrm-2.4.120-3.fc40.tar.xz
diffbase-time-created2024-07-03 14:38:39
diffbase-time-finished2024-07-03 14:40:43
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpg5c7xpfi/libdrm-2.4.120-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpg5c7xpfi/libdrm-2.4.120-3.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-66.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibdrm-2.4.121-1.fc41
store-results-to/tmp/tmpvy2ts9nb/libdrm-2.4.121-1.fc41.tar.xz
time-created2024-07-03 14:41:02
time-finished2024-07-03 14:42:42
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpvy2ts9nb/libdrm-2.4.121-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpvy2ts9nb/libdrm-2.4.121-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9