zephyr/drivers
Leandro Pereira 25fb83c6e0 drivers: i2c: Fix TOCTOU while transferring I2C messages
All the mesages are checked with _SYSCALL_MEMORY() prior to calling the
actual implementation function.  However, a race condition might happen
between the check and the call to _impl_i2c_transfer() itself.

Copy the msgs vector to a locally allocated array and pass it to the
transfer implementation.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-04-24 18:30:00 -07:00
..
adc drivers/adc: Switch ti_adc108s102 driver to new SPI API 2018-04-04 19:02:35 +02:00
aio kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
bluetooth drivers/bluetooth: Get rid completely of legacy SPI API in SPI HCI 2018-04-04 19:02:35 +02:00
clock_control drivers: clock_control: Add MSI as possible clock source for stm32 2018-04-24 08:55:02 -05:00
console uart_pipe: re-work the RX function to match the API and work with USB. 2018-04-21 08:37:54 -07:00
counter kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
crypto kconfig: Remove no-op selects of choice symbols 2018-03-29 08:57:39 -04:00
display kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
dma kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
entropy drivers: entropy: nrf5: Clarify Kconfig options 2018-04-05 08:09:57 -04:00
ethernet doc: fix misspellings in Kconfig files 2018-04-13 08:28:57 -04:00
flash drivers: flash: atmel sam0: Fix compilation without page layout support 2018-04-12 17:26:54 -05:00
gpio ext: mcux: Reorganize imported drivers into soc family subfolders 2018-04-24 07:55:48 -05:00
grove kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
i2c drivers: i2c: Fix TOCTOU while transferring I2C messages 2018-04-24 18:30:00 -07:00
i2s kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
ieee802154 drivers: ieee802154: Add OpenThread modifications to KW41Z driver 2018-04-11 16:57:12 +03:00
interrupt_controller driver: interrupt_controller: Add support for stm32l0x 2018-03-10 11:42:25 -06:00
ipm kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
led_strip api/spi: Reduce parameter number on transceive function 2018-04-04 19:02:35 +02:00
net net/ethernet: All types are prefixed with ethernet_ 2018-04-10 14:45:37 +03:00
pci drivers: pci: when enumerating, only print the device info 2018-02-01 02:19:45 -05:00
pinmux ext: mcux: Reorganize imported drivers into soc family subfolders 2018-04-24 07:55:48 -05:00
pwm arch: arm: nrf: Rename nrf5 SoC Family to nrf 2018-03-20 11:57:14 +01:00
rtc kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
sensor sensors/lsm5dsl: Fix SPI API usage 2018-04-21 05:42:59 -07:00
serial ext: mcux: Reorganize imported drivers into soc family subfolders 2018-04-24 07:55:48 -05:00
spi drivers/spi: Fixed incorrect prompt. 2018-04-24 08:23:30 -05:00
timer drivers: timer: expose RTC1 ISR handler function 2018-04-08 08:47:36 -04:00
usb usb: usb_dc_dw: Fix incorrect MPS return 2018-04-20 21:03:33 -07:00
watchdog watchdog: add a watchdog driver for the SAM0 family. 2018-01-04 13:18:25 -05:00
wifi net/mgmt/wifi: Add dedicated net mgmt hooks for WiFi offload devices 2018-04-12 09:56:07 -04:00
CMakeLists.txt drivers/wifi: Add files skeleton for adding WiFi drivers 2018-04-12 09:56:07 -04:00
Kconfig drivers/wifi: Add files skeleton for adding WiFi drivers 2018-04-12 09:56:07 -04:00