Re: [PATCH v1 1/1] malloc: handle invalid socket ID's when allocating

2025-06-27 Thread Thomas Monjalon
16/06/2025 11:55, Anatoly Burakov: > This issue was reported by static analysis. It is a false positive, > because both `rte_socket_count` and `rte_socket_id_by_idx` only report > information about physical sockets (so return value of -1 cannot happen, > as we only get into this function when socke

[PATCH v1 1/1] malloc: handle invalid socket ID's when allocating

2025-06-16 Thread Anatoly Burakov
This issue was reported by static analysis. It is a false positive, because both `rte_socket_count` and `rte_socket_id_by_idx` only report information about physical sockets (so return value of -1 cannot happen, as we only get into this function when socket ID parameter is -1, which excludes extern