interface-event: Fix possible out of bounds array access
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 1 Feb 2016 09:56:24 +0000 (10:56 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 1 Feb 2016 10:09:57 +0000 (11:09 +0100)
commit418f63b98f8cc9a4316f7dce4889400afd6ca3aa
tree6d977f9da26e089c37fb3b051f2453a5fdd67723
parent2bd3327f35266dc284ab309ea5ed2008d8b40374
interface-event: Fix possible out of bounds array access

The array eventnames is of size 3 while the interface_event type may use
the indexes 3 or 4.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface-event.c