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

Stephen Hemminger
2025-11-20T16:23:34Z

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(-)

--
2.51.0