aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1525.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-03-09 02:59:05 -0500
committerDaniel Stenberg <daniel@haxx.se>2016-05-13 00:06:50 +0200
commit68701e51c1f794df59d9f70bcddbf714ee91b868 (patch)
tree5e76101c1e372d42fab764fdbf0b3d8a503baae6 /tests/libtest/lib1525.c
parent117a0ffe9fbe2984d2f964a844a8e662586ae9b1 (diff)
mprintf: Fix processing of width and prec args
Prior to this change a width arg could be erroneously output, and also width and precision args could not be used together without crashing. "%0*d%s", 2, 9, "foo" Before: "092" After: "09foo" "%*.*s", 5, 2, "foo" Before: crash After: " fo" Test 557 is updated to verify this and more
Diffstat (limited to 'tests/libtest/lib1525.c')
0 files changed, 0 insertions, 0 deletions