Describe the bug
https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/event_groups.c#L643
pxEventBits->uxEventBits used after xTaskResumeAll(); which will return garbage if another thread freed underlying container.
Target
- Development board: any
- Instruction Set Architecture: any
- IDE and version: any
- Toolchain and version: any
Host
- Host OS: any
- Version: any
To Reproduce
- In high priority thread:
- create event group
- call xEventGroupWaitBits
- delete event group
- In low priority thread:
- call xEventGroupSetBits
- check return value
Expected behavior
Not returning garbage
Screenshots
none
Additional context
none