Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tempodox
on Nov 11, 2022
|
parent
|
context
|
favorite
| on:
NSA guidance on how to protect against software me...
malloc() on an embedded platform can still present pitfalls. This article explains why:
https://mcuoneclipse.com/2022/11/06/how-to-make-sure-no-dyna...
SAI_Peregrinus
on Nov 12, 2022
[–]
Yes, you can still run out of memory. But you can't get a fragmented heap if you never free(). And if you allocate only at init, not during the normal operation stage, you can't run out of memory if you manage to start up successfully.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://mcuoneclipse.com/2022/11/06/how-to-make-sure-no-dyna...