This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
FreeRTOS-Kernel/FreeRTOS-Plus/Demo
Yuhui.Zheng 1deeb6dd84 Check socket binding result before doing anything with socket. (This is to address ARG findings.) Breaking the single return rule here, due to precedent violation at line 1039 and 1144.
prvTransferConnect() now returns:
- pdTRUE: everything's good. pdTRUE = 1.
- -pdFREERTOS_ERRNO_ENOMEM: FreeRTOS_socket() failed. -pdFREERTOS_ERRNO_ENOMEM = -12.
- -pdFREERTOS_ERRNO_EINVAL || -pdFREERTOS_ERRNO_ECANCELED: FreeRTOS_bind() failed. Negative values.

Thus, at line 569 and line 617, needs to check != pdTRUE instead of == pdFALSE.

This commit is done on behalf of Alfred.
2019-12-04 07:52:49 +00:00
..
Common Check socket binding result before doing anything with socket. (This is to address ARG findings.) Breaking the single return rule here, due to precedent violation at line 1039 and 1144. 2019-12-04 07:52:49 +00:00
FreeRTOS_IoT_Libraries Files as per 190725_FreeRTOS_IoT_Libs_Task_Pool_and_MQTT_Preview interim release. 2019-07-25 20:20:24 +00:00
FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator Update version number ready for next release. 2019-05-11 01:47:37 +00:00
FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator Update to MIT licensed FreeRTOS V10.0.0 - see https://www.freertos.org/History.txt 2017-11-29 16:53:26 +00:00
FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator Update version number ready for next release. 2019-05-11 01:47:37 +00:00
FreeRTOS_Plus_TCP_Minimal_Windows_Simulator Minor bug fix in NTPDemo.c -> use of FREERTOS_INVALID_SOCKET in place of NULL. 2019-09-04 00:13:17 +00:00
FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC FreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by FreeRTOS+TCP, 2018-08-23 00:00:20 +00:00
FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator FreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by FreeRTOS+TCP, 2018-08-23 00:00:20 +00:00
FreeRTOS_Plus_UDP_CLI_FAT_SL_SAM4E_Atmel_Studio FreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by FreeRTOS+TCP, 2018-08-23 00:00:20 +00:00
FreeRTOS_Plus_WolfSSL_Windows_Simulator Update version number ready for next release. 2019-05-11 01:47:37 +00:00
Also_See_More_FreeRTOS+TCP_and_FreeRTOS_FAT_in_the_lab.url FreeRTOS+TCP: Added ipconfigSOCKET_HAS_USER_WAKE_CALLBACK configuration option so the user can specify a callback to execute when data arrives. 2017-12-12 17:47:56 +00:00
readme.txt Update version numbers to V7.4.1. 2013-04-18 12:58:17 +00:00

Directories:

+ The FreeRTOS-Plus/Demo directory contains a demo application for every most of
  the FreeRTOS+ components.  Lots of the demo applications use the FreeRTOS
  Windows simulator for easy evaluation.  Be aware that FreeRTOS is much slower
  and not deterministic when executed in a simulated environment.

+ See http://www.freertos.org/plus