zephyr/drivers
Andrew Boie 7e5b021b56 drivers: adc: fix TOCTOU attacks
The toplevel adc_seq_table is now copied onto the stack and
the stack copy used.

The contained entries array is now copied onto an allocation
drawn from the caller's resource pool, to prevent modification
of the buffer pointers.

The return value policy here is to oops the caller if bad memory
or objects are passed in, but return an error otherwise.

Based on an original patch by Leandro Pereira, rebased and the
copy of the entries array added.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-05-17 15:08:54 -07:00
..
adc drivers: adc: fix TOCTOU attacks 2018-05-17 15:08:54 -07:00
aio syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
bluetooth drivers/bluetooth/hci: Name the choice of BT HCI driver bus 2018-05-15 15:11:12 -05:00
clock_control clock_control: Add support for getting LPO frequency in mcux sim driver 2018-05-17 15:00:55 -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 syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
crypto drivers: crypto: crypto_mtls_shim: Set output length for all operations 2018-05-16 23:30:11 +03:00
display kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
dma syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
entropy syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
ethernet doc: fix misspellings in Kconfig files 2018-04-13 08:28:57 -04:00
flash syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
gpio syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
grove kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
i2c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
i2s drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
ieee802154 drivers/ieee802154: KW41Z drivers is missing hw ACK caps 2018-05-17 16:18:53 +03:00
interrupt_controller xtensa: intel_s1000: implement interrupt mechanism 2018-05-01 16:46:41 -04:00
ipm syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
led syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03: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 pinmux: stm32l4: add I2C4 pinmux on PD12/PD13 2018-05-17 13:08:36 -05:00
pwm syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
rtc syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
sensor syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
serial syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
spi spi_handlers: fix some build issues 2018-05-17 23:34:03 +03:00
timer drivers: timer: nRFx: Remove redundant code 2018-05-16 10:16:29 +02:00
usb drivers: usb: kinetis: fixup endpoint config, stall and read 2018-05-17 07:00:49 -05:00
watchdog watchdog: Introduce mcux wdog shim driver 2018-05-17 15:00:55 -05:00
wifi drivers/wifi: Move all winc1500 related code to its own directory 2018-05-17 10:46:26 +03:00
CMakeLists.txt drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
Kconfig drivers: led: Add public API for LED drivers 2018-04-27 10:46:53 -05:00