Go to file
Jerin Jacob e5e193acf0 crypto/scheduler: fix build with gcc 8.2
build_error:

drivers/crypto/scheduler/scheduler_pmd.c: In function ‘parse_name_arg’:
drivers/crypto/scheduler/scheduler_pmd.c:372:2: error: ‘strncpy’
specified bound 64 equals destination size [-Werror=stringop-truncation]
  strncpy(params->name, value, RTE_CRYPTODEV_NAME_MAX_LEN);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
strncpy may result a not null-terminated string,
replaced it with strlcpy

Fixes: 503e9c5afb ("crypto/scheduler: register as vdev driver")
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2018-11-04 22:25:20 +01:00
app add missing static keyword to globals 2018-10-29 02:01:08 +01:00
buildtools buildtools: fix build for some mktemp 2018-10-27 15:30:25 +02:00
config vfio: disable in FreeBSD build with meson 2018-10-27 17:57:55 +02:00
devtools devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
doc doc: fix PDF build 2018-10-31 15:52:43 +01:00
drivers crypto/scheduler: fix build with gcc 8.2 2018-11-04 22:25:20 +01:00
examples examples/vm_power: respect maximum CPUs 2018-11-04 21:54:04 +01:00
kernel kni: fix build on Linux < 3.14 2018-10-27 00:18:06 +02:00
lib eal: fix error string function 2018-11-04 22:25:20 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: disable gcc AVX512F support 2018-11-04 21:55:17 +01:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test test/metrics: add unit tests for metrics library 2018-10-29 04:00:54 +01:00
usertools usertools: add client script for telemetry 2018-10-27 15:21:38 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS test/metrics: add unit tests for metrics library 2018-10-29 04:00:54 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: add option to override drivers install directory 2018-10-27 23:22:21 +02:00
meson.build version: 18.11-rc1 2018-10-29 04:08:26 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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