EasyLogger
EasyLogger copied to clipboard
Fix: Potential Vulnerability in Cloned Function
Description This PR fixes a security vulnerability in xStreamBufferGenericCreate() that was cloned from FreeRTOS-Kernel but did not receive the security patch. The original issue was reported and fixed under https://github.com/FreeRTOS/FreeRTOS-Kernel/commit/d05b9c123f2bf9090bce386a244fc934ae44db5b. This PR applies the same patch to eliminate the vulnerability.
References https://nvd.nist.gov/vuln/detail/CVE-2021-31572 https://github.com/FreeRTOS/FreeRTOS-Kernel/commit/d05b9c123f2bf9090bce386a244fc934ae44db5b