Skip to content

printf stuff

Rasmus Villemoes lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/vsprintf.c: handle invalid format specifiers more robustlylib/vsprintf.c+21 -100 replies
2/4lib/vsprintf.c: also improve sanity check in bstr_printf()lib/vsprintf.c+1 -10 replies
3/4lib/vsprintf.c: Remove SPECIAL handling in pointer()lib/vsprintf.c+1 -11 reply
4/4test_printf: test printf family at runtimelib/Kconfig.debug lib/Makefile lib/test_printf.c+366 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKees CookAndy Shevchenko
1/4A-b R-b
2/4A-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] printf stuff

A few printf-related patches I've been sitting on. I also have some documentation updates, but I'll wait until I see Martin's patch [1] in -next. There's also the %pb issue [2], but I'm not sure there's consensus on the best fix for that.

[1] https://lkml.org/lkml/2015/9/24/256
[2] https://lkml.org/lkml/2015/9/16/769

Rasmus Villemoes (4):
lib/vsprintf.c: handle invalid format specifiers more robustly lib/vsprintf.c: also improve sanity check in bstr_printf() lib/vsprintf.c: Remove SPECIAL handling in pointer()
test_printf: test printf family at runtime

 lib/Kconfig.debug |   3 +
 lib/Makefile      |   1 +
 lib/test_printf.c | 362 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/vsprintf.c    |  35 ++++--
 4 files changed, 389 insertions(+), 12 deletions(-)
 create mode 100644 lib/test_printf.c
Signature · 1 line
2.1.3