Task #132728 - added.err

back to task #132728
download
Error: GCC_ANALYZER_WARNING (CWE-476):
rdma-core-64.0/providers/mlx5/buf.c:254:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  252|   		to_mparent_domain(buf->ibv_buf.pd);
#  253|   
#  254|-> 	mparent_domain->free(&mparent_domain->mpd.ibv_pd,
#  255|   			     mparent_domain->pd_context,
#  256|   			     buf->ibv_buf.addr,

Error: GCC_ANALYZER_WARNING (CWE-476):
rdma-core-64.0/providers/mlx5/buf.c:266:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  264|   	void *addr;
#  265|   
#  266|-> 	addr = mparent_domain->alloc(&mparent_domain->mpd.ibv_pd,
#  267|   				   mparent_domain->pd_context, size,
#  268|   				   buf->req_alignment,

Error: GCC_ANALYZER_WARNING (CWE-476):
rdma-core-64.0/providers/mlx5/buf.c:308:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-64.0/providers/mlx5/buf.c:298:12: branch_false: following ‘false’ branch (when ‘size != 0’)...
rdma-core-64.0/providers/mlx5/buf.c:308:16: branch_false: ...to here
rdma-core-64.0/providers/mlx5/buf.c:308:16: danger: dereference of NULL ‘<unknown>’
#  306|   	 * so the resulting HW page offset is 0 and meets any alignment.
#  307|   	 */
#  308|-> 	addr = ibv_dmabuf_heap_alloc(mparent_domain->dmabuf_heap, size,
#  309|   				     &dmabuf_fd);
#  310|   	if (!addr)

Error: GCC_ANALYZER_WARNING (CWE-401):
rdma-core-64.0/providers/mlx5/verbs.c:6221:16: warning[-Wanalyzer-malloc-leak]: leak of ‘umem’
rdma-core-64.0/providers/mlx5/verbs.c:6211:16: acquire_memory: allocated here
rdma-core-64.0/providers/mlx5/verbs.c:6212:12: branch_false: following ‘false’ branch (when ‘umem’ is non-NULL)...
rdma-core-64.0/providers/mlx5/verbs.c:6217:24: branch_false: ...to here
rdma-core-64.0/providers/mlx5/verbs.c:6221:16: danger: ‘umem’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
# 6219|   	umem->dv_devx_umem.umem_id = attrs->umem_id;
# 6220|   
# 6221|-> 	return &umem->dv_devx_umem;
# 6222|   }
# 6223|   

Error: GCC_ANALYZER_WARNING (CWE-401):
rdma-core-64.0/providers/mlx5/verbs.c:8274:16: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
rdma-core-64.0/providers/mlx5/verbs.c:8262:15: acquire_memory: allocated here
rdma-core-64.0/providers/mlx5/verbs.c:8263:12: branch_false: following ‘false’ branch (when ‘obj’ is non-NULL)...
rdma-core-64.0/providers/mlx5/verbs.c:8268:23: branch_false: ...to here
rdma-core-64.0/providers/mlx5/verbs.c:8274:16: danger: ‘obj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
# 8272|   	obj->dv_var.mmap_off = attrs->mmap_off;
# 8273|   
# 8274|-> 	return &obj->dv_var;
# 8275|   }
# 8276|   

Error: COMPILER_WARNING (CWE-909):
rdma-core-64.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:15861:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘_tp_iteritem’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#15861 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: ‘_tp_iteritem’ declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#15859|     0, /*tp_pypy_flags*/
#15860|     #endif
#15861|-> };
#15862|   #endif
#15863|   static struct __pyx_vtabstruct_7pyverbs_9providers_3efa_5efadv_EfaMR __pyx_vtable_7pyverbs_9providers_3efa_5efadv_EfaMR;

Error: COMPILER_WARNING (CWE-909):
rdma-core-64.0/redhat-linux-build/pyverbs/providers/efa/efadv.c:16014:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘_tp_iteritem’ of ‘PyTypeObject’ {aka ‘struct _typeobject’}
#16014 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: ‘_tp_iteritem’ declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning’ may have been intended to silence earlier diagnostics
#16012|     0, /*tp_pypy_flags*/
#16013|     #endif
#16014|-> };
#16015|   #endif
#16016|