Go to file
Vladimir Medvedkin 247a38c520 fib: fix possible integer overflow
This commit fixes possible integer overflow for
prev_idx in build_common_root() CID 350596
and
tbl8_idx in write_edge() CID 350597

Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
overflow_before_widen: Potentially overflowing expression tbl8_idx * 256
with type int (32 bits, signed) is evaluated using 32-bit arithmetic,
and then used in a context that expects an expression of
type uint64_t (64 bits, unsigned).

Coverity issue: 350596, 350597
Fixes: c3e12e0f03 ("fib: add dataplane algorithm for IPv6")
Cc: stable@dpdk.org

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
2020-02-06 16:17:14 +01:00
.ci devtools: add ABI checks 2020-02-05 15:14:46 +01:00
app test/mbuf: check pinned external buffer 2020-02-06 16:17:14 +01:00
buildtools build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
config config: add Broadcom Stingray for meson cross-compilation 2020-02-06 15:38:27 +01:00
devtools crypto/snow3g: use IPsec library 2020-02-05 15:17:36 +01:00
doc build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
drivers build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
examples examples/ipsec-secgw: support CPU crypto 2020-02-05 15:30:16 +01:00
kernel contigmem: update for FreeBSD 13 2020-01-20 17:53:42 +01:00
lib fib: fix possible integer overflow 2020-02-06 16:17:14 +01:00
license remove blank lines at end of file 2019-11-26 00:12:08 +01:00
mk mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
usertools usertools: fix typo in SPDX tag of telemetry script 2019-11-28 03:12:55 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml devtools: add ABI checks 2020-02-05 15:14:46 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt crypto/armv8: enable meson build 2020-02-05 15:20:51 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.02-rc1 2020-01-21 01:26:11 +01: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