2016-04-27 17:07, Daniel Mrzyglod:
> Fix issue reported by clang scan-build
>
> Value of pointer tbl_next was uninitialized. When function lookup_step()
> take else branch it may provide garbage into tbl = tbl_next;
>
> Fixes: 5c510e13a9cb ("lpm: add IPv6 support")
>
> Signed-off-by: Daniel Mrzy
Fix issue reported by clang scan-build
Value of pointer tbl_next was uninitialized. When function lookup_step()
take else branch it may provide garbage into tbl = tbl_next;
Fixes: 5c510e13a9cb ("lpm: add IPv6 support")
Signed-off-by: Daniel Mrzyglod
---
lib/librte_lpm/rte_lpm6.c | 4 ++--
1 fi
2 matches
Mail list logo