examples/bbdev: fix out-of-bounds access in MAC print
authorAmr Mokhtar <amr.mokhtar@intel.com>
Wed, 31 Jan 2018 14:19:34 +0000 (14:19 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 17:49:12 +0000 (18:49 +0100)
commitbf271db17154b0fcddc7c79edfa7b4e653d6a796
treecc00c15e47efaaa59a7b82b1a15315943ae78fc9
parentd3345d4070e577bb369f38c53d00db7d1968b5c9
examples/bbdev: fix out-of-bounds access in MAC print

eth_address was improperly accessed in bbdev example
app, this patch removes the use of port_id, it is
irrelevant here.

Coverity issue: 257021
Fixes: 1ffee690eaa1 ("examples/bbdev: add sample app")

Signed-off-by: Amr Mokhtar <amr.mokhtar@intel.com>
examples/bbdev_app/main.c