| commit | 065ec06345dd07bc32d6f456696be2a5432a7b48 | [log] [tgz] |
|---|---|---|
| author | Andre Przywara <andre.przywara@arm.com> | Thu Jan 27 17:07:06 2022 +0000 |
| committer | Edward Potapov <edward.potapov@arm.com> | Mon Aug 18 10:34:14 2025 -0500 |
| tree | d6bbc9e7e575f284d4661f73cbd6e58e7bed5835 | |
| parent | eba673792ae89951b15ef85f10e9a7c8f624806b [diff] |
snprintf: add buffer tests Add some tests that test the buffer size limitation checks that snprintf should implement. This tests corner cases of the buffer size (tight buffer, one byte too small, etc.), also the proper cutoff and return values if the buffer is not sufficient. Change-Id: Ia3d6309cfc8624904f68fe185bcaa91ec517c7b4 Signed-off-by: Andre Przywara <andre.przywara@arm.com>