Commit Graph

8 Commits (362dd3fbcf1dc96c07f93fca80375756ef6386ed)

Author SHA1 Message Date
Bogdan Marinescu 362dd3fbcf Bugfixes for the implementation and the compliance test
In the implementation, don't always display double hex digits when
printing with "%X". This is in line with the behaviour observed both
in mbed OS's printf (Newlib) and Linux's printf (glibc).
In the tests, always compare the baseline result with the result
returned by the minimal printf implementation, instead of comparing
with a constant value.
2018-04-26 00:05:52 +03:00
Bogdan Marinescu 2a01a54e17 Address code review issues
- Improved comments to explain the checks on 'result'.
- Check for non-NULL format specifier.
2018-03-23 10:23:48 +02:00
Bogdan Marinescu a5f07166f9 [BUGFIX][IOTUC-18] Library fixes
This commit adds mostly integer (and buffer) overflow checks for the
current buffer index (`result` variable).
2018-03-22 18:47:39 +02:00
Marcus Chang de7024f7ab Add missing include stdbool.h 2017-11-12 15:14:38 -08:00
Bogdan Marinescu 75845c3dc7 Remove references to ssize_t in the code
ssize_t doesn't exist at all in armcc.
2017-11-02 17:12:06 +00:00
Marcus Chang ab700c02df Fix file permissions 2017-10-26 13:41:32 -07:00
Marcus Chang 8ec1d473a1 Fixed bug in getting absolute value 2017-10-26 13:28:08 -07:00
Marcus Chang 3be1165fe7 Add support for width specifiers 2017-10-26 07:28:15 -07:00