You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS/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.
5 years ago
..
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. 5 years ago
FreeRTOS_IoT_Libraries Files as per 190725_FreeRTOS_IoT_Libs_Task_Pool_and_MQTT_Preview interim release. 6 years ago
FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator Update version number ready for next release. 6 years ago
FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator
FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator Update version number ready for next release. 6 years ago
FreeRTOS_Plus_TCP_Minimal_Windows_Simulator Minor bug fix in NTPDemo.c -> use of FREERTOS_INVALID_SOCKET in place of NULL. 6 years ago
FreeRTOS_Plus_UDP_CLI_FAT_SL_SAM4E_Atmel_Studio
FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC
FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator
FreeRTOS_Plus_WolfSSL_Windows_Simulator Update version number ready for next release. 6 years ago
Also_See_More_FreeRTOS+TCP_and_FreeRTOS_FAT_in_the_lab.url
readme.txt

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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