numam-dpdk/examples
Olivier Matz 9275af3bd9 examples/fips_validation: fix buffer overflow
If the file name is larger than MAX_STRING_SIZE (64), strcpy()
will overwrite the content of memory.

Replace strcpy() by rte_strscpy(), check its return value, and
increase file_name size to 256.

Fixes: 3d0fad56b7 ("examples/fips_validation: add crypto FIPS application")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
2020-10-14 22:22:06 +02:00
..
bbdev_app examples: use new link status print format 2020-09-21 18:05:38 +02:00
bond examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00
distributor examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
ethtool examples/ethtool: convert to pkg-config-based build 2020-09-07 23:51:57 +02:00
eventdev_pipeline examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
fips_validation examples/fips_validation: fix buffer overflow 2020-10-14 22:22:06 +02:00
flow_classify examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
flow_filtering examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
helloworld examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
ioat examples/ioat: fix stats print 2020-10-08 14:38:02 +02:00
ip_fragmentation examples: use new link status print format 2020-09-21 18:05:38 +02:00
ip_pipeline examples/ip_pipeline: update subport rate dynamically 2020-10-15 02:14:09 +02:00
ip_reassembly examples: use new link status print format 2020-09-21 18:05:38 +02:00
ipsec-secgw examples: use new link status print format 2020-09-21 18:05:38 +02:00
ipv4_multicast examples: use new link status print format 2020-09-21 18:05:38 +02:00
kni examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd-cat examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
l2fwd-crypto crypto/scheduler: rename slave to worker 2020-10-14 21:31:46 +02:00
l2fwd-event examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd-jobstats examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd-keepalive examples: use new link status print format 2020-09-21 18:05:38 +02:00
l3fwd build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
l3fwd-acl examples: use new link status print format 2020-09-21 18:05:38 +02:00
l3fwd-graph examples: use new link status print format 2020-09-21 18:05:38 +02:00
l3fwd-power examples: use new link status print format 2020-09-21 18:05:38 +02:00
link_status_interrupt examples: use new link status print format 2020-09-21 18:05:38 +02:00
multi_process examples: use new link status print format 2020-09-21 18:05:38 +02:00
ntb examples: use new link status print format 2020-09-21 18:05:38 +02:00
packet_ordering examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
performance-thread examples: use new link status print format 2020-09-21 18:05:38 +02:00
pipeline examples/pipeline: fix files for table update 2020-10-08 15:09:28 +02:00
ptpclient examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
qos_meter examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
qos_sched examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
rxtx_callbacks examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
server_node_efd examples: use new link status print format 2020-09-21 18:05:38 +02:00
service_cores examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
skeleton examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
tep_termination examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
timer examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vdpa examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vhost examples/vhost: remove dequeue zero-copy support 2020-09-30 23:16:56 +02:00
vhost_blk examples/vhost_blk: check driver start failure 2020-09-30 23:16:55 +02:00
vhost_crypto examples/vhost_crypto: use vhost async-copy flag 2020-09-30 23:16:56 +02:00
vm_power_manager examples/vm_power: fix 32-bit build 2020-10-06 09:49:29 +02:00
vmdq examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vmdq_dcb examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
meson.build examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00