arping: validate am->interfaces before check address 96/36796/5
authorGaoChX <chiso.gao@gmail.com>
Thu, 4 Aug 2022 02:04:33 +0000 (10:04 +0800)
committerchiso.gao@gmail.com <chiso.gao@gmail.com>
Thu, 4 Aug 2022 06:45:31 +0000 (06:45 +0000)
commit5fcec2053eab28b8b56e6d692d9822dc22bd073f
treea6aeb16ce113bf423efc96cd883a28d48f30b6b0
parent44ec846f4ad1c11cc596c9fa6b73284511131ed4
arping: validate am->interfaces before check address

May cause pointers point to unexpected non-zero addresses if not
validate vec

Type: fix

Change-Id: Ie4d3343d6734125b98e0dc962e33e0c7514da829
Signed-off-by: GaoChX <chiso.gao@gmail.com>
src/plugins/arping/arping.c