Skip to content

Commit 71f1fe0

Browse files
Fix strnlen_P/strlen_P off-by-4 error
Random crashes, often on String constructors using a PSTR, would occur due to the accelerated strnlen_P going past the end of the string. Would make debug builds fail, too (ESP.getVersionString() failure). Fix to fall through to normal copy on a word that's got a 0 byte anywhere in it.
1 parent 2a05f41 commit 71f1fe0

File tree

3 files changed

+0
-0
lines changed

3 files changed

+0
-0
lines changed
-1.18 KB
Binary file not shown.
-1.18 KB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)