Skip to content

Add addition overflow check for stream buffer #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 7, 2020

Conversation

cobusve
Copy link
Member

@cobusve cobusve commented Dec 6, 2020

Add addition overflow check for stream buffer for the mostly theoretical case where you are allocating close to 4,294,967,296 bytes and the size_t rolls over.

@cobusve cobusve requested a review from a team as a code owner December 6, 2020 01:27
@cobusve cobusve requested a review from RichardBarry December 6, 2020 01:28
@cobusve cobusve merged commit d05b9c1 into FreeRTOS:master Dec 7, 2020
mubinsyed pushed a commit to mubinsyed/FreeRTOS-Kernel that referenced this pull request Dec 8, 2020
@cobusve cobusve deleted the streambufferfix branch December 8, 2020 21:26
laroche pushed a commit to laroche/FreeRTOS-Kernel that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants