Go to file
Jananee Parthasarathy 984d9e522f table: fix crash in LPM IPv6
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 index might result in
segmentation fault due to array out of bounds when
lpm->nht_users is used with such invalid array index.

Fix is to initialize the variables used for array subscript.

Bugzilla ID: 285
Fixes: d89a5bce1d ("lpm6: extend next hop field")
Cc: stable@dpdk.org

Signed-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2019-07-04 23:44:58 +02:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test/bpf: add test-case for function return value 2019-07-04 11:07:05 +02:00
buildtools buildtools: filter out checked symbols for icc 2019-07-02 16:04:37 +02:00
config config: increase maximum lcores for ppc 2019-07-04 17:54:49 +02:00
devtools devtools: pass custom options to checkpatch 2019-07-04 22:43:26 +02:00
doc doc: add a note for multi-process in mempool guide 2019-07-04 23:14:28 +02:00
drivers mempool/dpaa: fix leak in pool creation failure 2019-07-04 17:20:33 +02:00
examples examples/power: remove double copy of FIFO path 2019-07-04 22:42:45 +02:00
kernel kernel/linux: fix modules install path 2019-06-27 17:43:59 +02:00
lib table: fix crash in LPM IPv6 2019-07-04 23:44:58 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk raw/ioat: introduce IOAT driver 2019-07-04 09:43:42 +02:00
usertools usertools: add baseband device binding 2019-07-04 23:44:58 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add a distinguisher to the extra Travis builds 2019-04-17 13:56:23 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS raw/ioat: introduce IOAT driver 2019-07-04 09:43:42 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt kernel/linux: fix modules install path 2019-06-27 17:43:59 +02:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.08-rc0 2019-05-14 22:58:22 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org