Initial variable before read

Closes-Bug:1795120

Change-Id: I116d489da785e50d3a37157079bf2509c03dca43
Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
Sun Austin 2018-10-17 09:43:16 +08:00
parent d987f1bcdf
commit eb6a4cae4e
1 changed files with 1 additions and 0 deletions

View File

@ -535,6 +535,7 @@ static void sm_hw_netlink_qdisc_msg_dispatch( SmHwThreadInfoT* thread_info,
{
struct rtattr* tb_stats[TCA_STATS_MAX+1];
memset( tb_stats, 0, sizeof(tb_stats) );
len = RTA_PAYLOAD(tb[TCA_STATS2]);
for( rta = (struct rtattr*) RTA_DATA(tb[TCA_STATS2]);