zephyr/tests
Inaky Perez-Gonzalez 324f8d7a41 tests/legacy/kernel/test_libs: use memcpy() vs strncpy()
Coverity complained about the use of strncpy() to fill up a buffer of
size N with a string of the same size didn't leave room for the final
\0.

This is a valid concern; however, the usage is valid too, as the
writer intended to create a pattern that later can be tested--addind a
\0 would break the pattern.

So instead, use memcpy() for the same function.

Change-Id: If52d02ce41731348f4a2d750c79f9e1c51f3afcf
Coverity-ID: 151947
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-11-18 23:04:43 +00:00
..
bluetooth Bluetooth: Fix left-over usage of TICKS_NONE and TICKS_UNLIMITED 2016-11-12 19:27:34 +02:00
booting/stub samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
compliance tests/compiance/checkpatch: force the format to 'email' 2016-11-10 19:30:32 +00:00
crypto tests/tinycrypt: Solve style issues in test_ccm_mode 2016-11-18 01:05:33 +00:00
drivers tests: spi: add return value check 2016-11-17 14:42:58 -08:00
fs/fat_fs fs: expose generic ramdisk/flash disk access functions 2016-11-09 02:45:45 +00:00
include tinycrypt: Fix style issues 2016-11-16 16:51:57 +00:00
kernel drivers: update ipm driver to use unified kernel 2016-11-13 13:53:53 +00:00
legacy tests/legacy/kernel/test_libs: use memcpy() vs strncpy() 2016-11-18 23:04:43 +00:00
net net: buf: Use unified k_fifo API for FIFOs 2016-11-11 06:00:17 +00:00
power/power_states test: power states: fix dead code issue 2016-11-18 02:05:00 +00:00
unit net: buf: Use unified k_fifo API for FIFOs 2016-11-11 06:00:17 +00:00
ztest ztest: Do not print garbage if message is NULL 2016-11-11 20:28:33 +00:00
defaults.tc testcases: introduce defaults to build/deploy/evaluate 2016-07-23 18:31:18 +00:00
Kconfig tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00
Makefile tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00
Makefile.test tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00