Skip to content
RED SAGSkills
medium10 pts · first answer countsembedded-cmemory-layout

A variable-length array

Why is this risky in firmware?

void log_frame(size_t len) {
    uint8_t tmp[len];
    /* ... */
}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions