bugAVR 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

Submitted by:  None
Submitted on:  Thu 27 Feb 2020 08:52:26 PM UTC
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libc code
Status:  None Assigned to:  None
Percent Complete:  0% Originator Email:  * -email is unavailable-
Open/Closed:  Open Release:  * 2.0.0
Fixed Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Thu 27 Feb 2020 08:52:26 PM UTC, original submission:  

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



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

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
  • -email is unavailable- added by None (Submitted the item)




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-27 None Attached File- => Added arduino_test.ino, #48513

    Back to the top

    Powered by Savane 3.9