c7cec489de
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig.winc1500 | ||
wifi_winc1500.c | ||
wifi_winc1500_config.h | ||
wifi_winc1500_nm_bsp.c | ||
wifi_winc1500_nm_bsp_internal.h | ||
wifi_winc1500_nm_bus_wrapper.c |