Wrap realloc() call with malloc_mutex in multicore #864

Merged
earlephilhower merged 1 commit from rea into develop 2022-06-17 09:50:53 -05:00
earlephilhower commented 2022-06-12 15:23:37 -05:00 (Migrated from github.com)

Protect against heap corruption by mutex-protecting the realloc() call
(like malloc/free are already).

Fixes #863
Fixes https://github.com/maxgerhardt/platform-raspberrypi/issues/7
Fixes https://github.com/earlephilhower/arduino-pico/issues/614

Protect against heap corruption by mutex-protecting the realloc() call (like malloc/free are already). Fixes #863 Fixes https://github.com/maxgerhardt/platform-raspberrypi/issues/7 Fixes https://github.com/earlephilhower/arduino-pico/issues/614
kilograham commented 2022-06-12 16:26:22 -05:00 (Migrated from github.com)

nice; thanks

nice; thanks
kilograham (Migrated from github.com) approved these changes 2022-06-17 09:50:41 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!864
No description provided.