zephyr/drivers/wifi/winc1500
Abram Early c7cec489de drivers: winc1500: Fix signed/unsigned comparison
The value from socket() was directly assigned to offload_context, which
was treated as a unsigned integer when compared. This prevented the
following if statement from catching any errors, leading to random RAM
access. This is fixed by using an intermediate with the same type as the
return value, which is then assigned to offload_context after error
checking.

Signed-off-by: Abram Early <abram.early@gmail.com>
2020-09-08 18:06:30 -05:00
..
CMakeLists.txt
Kconfig.winc1500 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
wifi_winc1500.c drivers: winc1500: Fix signed/unsigned comparison 2020-09-08 18:06:30 -05:00
wifi_winc1500_config.h
wifi_winc1500_nm_bsp.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wifi_winc1500_nm_bsp_internal.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wifi_winc1500_nm_bus_wrapper.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00