Search found 1 match
- Mon May 31, 2021 12:07 am
- Forum: General Discussion
- Topic: Latest ESP-IDF compilation error
- Replies: 12
- Views: 20206
Re: Latest ESP-IDF compilation error
This code is definitely incorrect. strncpy will not write the nul terminator since it's beyond the size passed as an argument.