Re: [dpdk-dev] [PATCH] lib/table: fix table autotest ut crashes in ipv6

2019-07-02 Thread Dumitrescu, Cristian
From: David Marchand [mailto:david.march...@redhat.com] Sent: Tuesday, July 2, 2019 12:46 PM To: Parthasarathy, JananeeX M Cc: dev ; Pattan, Reshma ; Dumitrescu, Cristian ; Singh, Jasvinder ; dpdk stable Subject: Re: [PATCH] lib/table: fix table autotest ut crashes in ipv6 On Tue, Jul 2, 2

Re: [dpdk-dev] [PATCH] lib/table: fix table autotest ut crashes in ipv6

2019-07-02 Thread David Marchand
On Tue, Jul 2, 2019 at 1:22 PM Jananee Parthasarathy < jananeex.m.parthasara...@intel.com> wrote: > Unit test table_autotest results in segmentation fault. > Crash occurs in test_table_lpm_ipv6_combined(). > > Variable 'nht_pos0' used as array subscript is not initialized > in rte_table_lpm_ipv6_e

[dpdk-dev] [PATCH] lib/table: fix table autotest ut crashes in ipv6

2019-07-02 Thread Jananee Parthasarathy
Unit test table_autotest results in segmentation fault. Crash occurs in test_table_lpm_ipv6_combined(). Variable 'nht_pos0' used as array subscript is not initialized in rte_table_lpm_ipv6_entry_add(). It will not be assigned, if a rule does not exist. In such case a junk number or invalid array