FreeRTOS-Kernel/portable
Florian La Roche c431b358c8
event_create(): check malloc() return value to be non-NULL (#1084)
* event_create(): check malloc() to be non-NULL

Check malloc() to return non-NULL before writing data
in the function event_create().

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>

* Code review suggestion

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-06-07 13:47:13 +05:30
..
ARMClang Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
ARMv8M armv8-m: Remove redundant constant pools (#1035) 2024-04-19 00:15:04 +05:30
BCC/16BitDOS Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CCS Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CodeWarrior Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Common Add Stream Batching Buffer (#916) 2024-04-17 20:24:00 +05:30
GCC Add configUSE_TASK_FPU_SUPPORT to AARCH64 port (#1048) 2024-05-08 17:07:52 +05:30
IAR Fix the pxTopcOfStack typo in the RISC-V ports. (#1030) 2024-04-15 10:10:10 +05:30
Keil Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
MemMang Readability enhancements in heap_1.c (#1074) 2024-05-29 23:43:07 +05:30
MikroC/ARM_CM4F Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
MPLAB Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
MSVC-MingW Add missing Extern "C" to MSVC portmacro.h 2024-05-29 14:03:51 -07:00
oWatcom/16BitDOS Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Paradigm/Tern_EE Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Renesas Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Rowley Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
RVDS Fix spelling in comment (#1024) 2024-04-09 10:00:23 +05:30
SDCC/Cygnal Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Softune Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Tasking/ARM_CM4F Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
template Add Noreturn attribute in template port for static analysis (#1060) 2024-05-16 21:11:05 +05:30
ThirdParty event_create(): check malloc() return value to be non-NULL (#1084) 2024-06-07 13:47:13 +05:30
WizC/PIC18 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CMakeLists.txt Fix wrong source file list in CMake of GCC_ARM_CM0 port. (#1045) 2024-04-29 20:51:35 +05:30
readme.txt Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00

Each real time kernel port consists of three files that contain the core kernel
components and are common to every port, and one or more files that are
specific to a particular microcontroller and/or compiler.


+ The FreeRTOS/Source/Portable/MemMang directory contains the five sample
memory allocators as described on the https://www.FreeRTOS.org WEB site.

+ The other directories each contain files specific to a particular
microcontroller or compiler, where the directory name denotes the compiler
specific files the directory contains.



For example, if you are interested in the [compiler] port for the [architecture]
microcontroller, then the port specific files are contained in
FreeRTOS/Source/Portable/[compiler]/[architecture] directory.  If this is the
only port you are interested in then all the other directories can be
ignored.