AVR C Runtime Library - Bugs: bug #57912, Crash due to error in function...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57912: Crash due to error in function strftime
Submitter: | None | ||
Submitted: | Thu 27 Feb 2020 08:52:26 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libc code |
Status: | None | Percent Complete: | 0% |
Assigned to: | None | Originator Email: | -email is unavailable- |
Open/Closed: | Open | Release: | 2.0.0 |
Fixed Release: | None |
Attached Files
file #48513: arduino_test.ino added by None (4KiB - text/plain)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-02-27 | None | Attached File | - | ![]() |
Added arduino_test.ino, #48513 |
The strftime function works incorrectly, in cases where the Format string part on the maxsize Bound, is not a %-placeholder, but rather some "normal" text. Attached example program "arduino_test.ino" demonstrates the Problem. There are two error Symptoms:
1) max Buffer size is exceeded
2) actual amount of written Bytes/Chars , Reports a wrong value