Skip to content

examples: fix format-truncation errors

Stephen Hemminger dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyIn review
  2. v34 patches 3 repliesSuperseded
  3. v27 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4examples/server_node_efd: fix format overflowexamples/server_node_efd/efd_server/main.c examples/server_node_efd/shared/common.h+3 -20 replies
2/4examples/vdpa: fix format overflow warningexamples/vdpa/main.c+4 -40 replies
3/4examples/ip_reassembly: add check before formatting nameexamples/ip_reassembly/main.c+7 -00 replies
4/4examples: enable format truncation warningexamples/meson.build+2 -30 replies

Reviews trailers per patch

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

PatchBruce RichardsonKonstantin Ananyev
1/4A-b
2/4A-b
3/4A-b A-b
4/4A-b

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

Read the v4 thread

Cover letter [PATCH v4 0/4] examples: fix format-truncation errors

Enabling format-truncation warning in examples show several possible overflows that are easily addressed.

v4 - use RTE_STR()

Stephen Hemminger (4):
examples/server_node_efd: fix format overflow examples/vdpa: fix format overflow warning examples/ip_reassembly: add check before formatting name
examples: enable format truncation warning

 examples/ip_reassembly/main.c              | 7 +++++++
 examples/meson.build                       | 5 ++---
 examples/server_node_efd/efd_server/main.c | 2 +-
 examples/server_node_efd/shared/common.h   | 3 ++-
 examples/vdpa/main.c                       | 8 ++++----
 5 files changed, 16 insertions(+), 9 deletions(-)
Signature · 1 line
2.51.0