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.bura...@intel.com

Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>

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

Reply via email to