zephyr/tests/drivers
Keith Packard b6f51c70e2 tests/spi_loopback: Fix buffer sizes to avoid buffer overflow
The initialized test buffers tx_data and tx2_data were not given a
specific size, but were initialized with one more byte than the
uninitialized buffers they get copied to. As a result, the memcpy found
a buffer overflow. Fix this by setting the source buffer sizes to match
the destination.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-05-27 15:34:34 -07:00
..
adc tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
bbram tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
build_all tests: build_all: modem: test esp-at 2022-05-10 10:44:04 +02:00
can drivers: can: add CAN_MODE_FD 2022-05-11 10:47:54 +02:00
clock_control tests/drivers/clock_control: stm32: Migrate includes to <zephyr/...> 2022-05-10 18:42:30 +02:00
console twister: add support for platform_type filter 2022-05-14 14:49:59 -04:00
counter tests: counter: Fix test_multiple_alarms in counter_basic_api 2022-05-23 08:38:59 -05:00
dac tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
disk tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
dma tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
eeprom tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
entropy/api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
espi tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
flash tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
flash_simulator tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
gpio tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
hwinfo/api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
i2c tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
i2s tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
ipm tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
kscan/kscan_api ztest: Fix userspace ztests in new API 2022-05-25 11:20:13 +09:00
led/led_api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
memc/stm32_sdram tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mipi_dsi/api tests: Add MIPI API tests 2022-05-12 09:26:50 -05:00
pinctrl pinctrl: nrf: prefix custom drive-mode property 2022-05-12 09:22:12 +02:00
pwm test: Remove usec test for pwm_api 2022-05-09 11:50:40 -05:00
regulator tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
sdhc tests: sdhc: Add SD host controller driver test 2022-04-29 14:21:36 -05:00
sensor tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
spi tests/spi_loopback: Fix buffer sizes to avoid buffer overflow 2022-05-27 15:34:34 -07:00
syscon linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
timer/nrf_rtc_timer tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
uart tests: drivers: uart stm32 run uart_async api on f746 nucleo 2022-05-25 11:38:05 -07:00
virtualization/ivshmem ztest: Fix userspace ztests in new API 2022-05-25 11:20:13 +09:00
watchdog/wdt_basic_api tests: drivers: watchdog testing on stm32 iwdg and wwdg 2022-05-24 08:55:16 -07:00