[DTV00857290][[DTV][Coverity Scanned Code Defect] 15367: Out-of-bounds write]

[Description]
Fix Out-of-bounds access in nic_cmd_event.c
 - Cid#361461 in line 1559.

CR-Id: DTV00857290
Signed-off-by: Alice Ou <Alice.Ou@mediatek.com>
Change-Id: Ic5ab3f74b373c409c5afea8e959f61ff9609b6f8
(cherry picked from commit 1105a150280d6800da26d9a1ffe4188e555752a9)
(cherry picked from commit 461382717eaab3e1071e0451eda81d139e738414)
1 file changed