numam-dpdk/examples
Reshma Pattan 57fad3e25f examples/power: fix string overflow
Use strlcpy instead of strcpy to fix string overflow.

Coverity issue: 337671
Fixes: a63504a90f ("examples/power: add JSON string handling")
Cc: stable@dpdk.org

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
2019-04-23 00:15:10 +02:00
..
bbdev_app examples: detect default build directory 2019-03-30 01:12:15 +01:00
bond examples: detect default build directory 2019-03-30 01:12:15 +01:00
bpf examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
cmdline replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
distributor distributor: skip building if power library not found 2019-04-17 18:09:53 +02:00
ethtool replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
eventdev_pipeline eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
exception_path replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
fips_validation examples/fips_validation: fix CMAC test 2019-04-18 16:01:28 +02:00
flow_classify examples: detect default build directory 2019-03-30 01:12:15 +01:00
flow_filtering examples: detect default build directory 2019-03-30 01:12:15 +01:00
helloworld examples: detect default build directory 2019-03-30 01:12:15 +01:00
ip_fragmentation examples: detect default build directory 2019-03-30 01:12:15 +01:00
ip_pipeline meter: replace color definitions 2019-04-11 14:27:32 +02:00
ip_reassembly examples: detect default build directory 2019-03-30 01:12:15 +01:00
ipsec-secgw examples/ipsec-secgw: fix test script 2019-04-02 16:50:24 +02:00
ipv4_multicast examples: detect default build directory 2019-03-30 01:12:15 +01:00
kni examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd-cat examples/l2fwd-cat: fix build on FreeBSD 2019-04-17 18:10:34 +02:00
l2fwd-crypto replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
l2fwd-jobstats examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd-keepalive examples: detect default build directory 2019-03-30 01:12:15 +01:00
l3fwd examples/l3fwd: format IP addresses for printing 2019-04-22 13:20:33 +02:00
l3fwd-acl examples: detect default build directory 2019-03-30 01:12:15 +01:00
l3fwd-power build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
l3fwd-vf examples: detect default build directory 2019-03-30 01:12:15 +01:00
link_status_interrupt examples: detect default build directory 2019-03-30 01:12:15 +01:00
load_balancer examples: detect default build directory 2019-03-30 01:12:15 +01:00
multi_process eal: promote some experimental functions as stable 2019-04-21 19:11:37 +02:00
netmap_compat replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
packet_ordering examples: detect default build directory 2019-03-30 01:12:15 +01:00
performance-thread examples: detect default build directory 2019-03-30 01:12:15 +01:00
ptpclient examples: detect default build directory 2019-03-30 01:12:15 +01:00
qos_meter meter: replace color definitions 2019-04-11 14:27:32 +02:00
qos_sched meter: replace color definitions 2019-04-11 14:27:32 +02:00
quota_watermark examples: detect default build directory 2019-03-30 01:12:15 +01:00
rxtx_callbacks examples: detect default build directory 2019-03-30 01:12:15 +01:00
server_node_efd examples: detect default build directory 2019-03-30 01:12:15 +01:00
service_cores examples: detect default build directory 2019-03-30 01:12:15 +01:00
skeleton examples: detect default build directory 2019-03-30 01:12:15 +01:00
tep_termination eal: promote some experimental functions as stable 2019-04-21 19:11:37 +02:00
timer examples: detect default build directory 2019-03-30 01:12:15 +01:00
vdpa build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vhost build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vhost_crypto examples: detect default build directory 2019-03-30 01:12:15 +01:00
vhost_scsi build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
vm_power_manager examples/power: fix string overflow 2019-04-23 00:15:10 +02:00
vmdq examples: detect default build directory 2019-03-30 01:12:15 +01:00
vmdq_dcb examples: detect default build directory 2019-03-30 01:12:15 +01:00
Makefile examples/distributor: detect high frequency cores 2019-04-02 02:22:32 +02:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00