Skip to content

Conversation

@earlephilhower
Copy link
Owner

Several Arduino APIs realloc(NULL) which is legal and equivalent to "malloc()", but the PSRAM logic was placing those malloc calls in PSRAM and not RAM because "0" < RAM_START.

Ensure the realloc address is non-null and before RAM_START before using PSRAM.

Several Arduino APIs realloc(NULL) which is legal and equivalent to
"malloc()", but the PSRAM logic was placing those malloc calls in PSRAM
and not RAM because "0" < RAM_START.

Ensure the realloc address is non-null and before RAM_START before
using PSRAM.
@earlephilhower earlephilhower merged commit 4504d72 into master Sep 17, 2024
20 checks passed
@earlephilhower earlephilhower deleted the prnull branch September 17, 2024 21:46
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