Spdk/scripts
Ben Walker bdfeddd3a3 Add strncpy to the list of banned functions
strncpy does not guarantee that the resulting strings
are null terminated, which leads to mistakes. It's
always better to use a function like snprintf instead,
so ban it.

Change-Id: I6ca56103a35df3364a04bdd68937768bc0479235
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/407027
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-04-13 16:15:52 -04:00
..
ceph autotest: attempt to clean up Ceph mount 2018-04-06 16:41:54 -04:00
perf/nvme pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
rpc scripts/rpc.py: calculate num_blocks with floor division 2018-04-13 15:44:46 -04:00
vagrant scripts/vagrant: add gdisk and sysstat packages 2018-03-05 10:50:32 -05:00
build_kmod.sh spdk: add the ioat_kperf test tool to autobuild system 2016-01-22 07:58:13 -07:00
check_format.sh Add strncpy to the list of banned functions 2018-04-13 16:15:52 -04:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
detect_cc.sh build: use conditional CC/CXX assignment for generated mk/cc.mk 2018-02-12 12:10:49 -05:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
gen_nvme.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py build: sort dictionary in genconfig.py before printing 2018-02-08 12:05:54 -05:00
pkgdep.sh bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: Add reset option to prep_benchmarks.sh 2018-01-09 13:40:59 -05:00
rpc.py scripts/rpc.py: pass named args to lvol.py 2018-04-12 13:21:02 -04:00
setup.sh scripts/setup.sh: avoid clobbering $bdf variable 2018-03-12 17:04:38 -04:00