[dpdk-dev] [PATCH 1/2] eal: fix potential negative return

Tan, Jianfeng jianfeng.tan at intel.com
Wed Apr 25 07:55:10 CEST 2018



On 4/17/2018 11:42 PM, Anatoly Burakov wrote:
> Value returned by rte_socket_id_by_idx() may be negative, which would
> result in negative array index access.
>
> Coverity issue: 272600
>
> Fixes: b666f17858a3 ("mem: read hugepage counts from node-specific sysfs path")
> Cc: anatoly.burakov at intel.com
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>

Reviewed-by: Jianfeng Tan <jianfeng.tan at intel.com>


More information about the dev mailing list