examples/pipeline: fix out of bounds array access
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 12 Jul 2021 18:18:33 +0000 (19:18 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Jul 2021 11:51:17 +0000 (13:51 +0200)
commitcfcc7bf8da8894d90836371c259b29e241919ee7
tree678773de7d42189fa618cb15fe320723d1183e97
parent40d42de563e2f0a1fd2062daa05fd3bb0ae3c44a
examples/pipeline: fix out of bounds array access

Fix the incorrect array out of bounds check within the function
pipeline_selector_group_member_read().

Coverity issue: 371911
Fixes: 598fe0dd0d8e3 ("examples/pipeline: support selector table")

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/cli.c