[PATCH v2 0/7] fix format-truncation warnings

Stephen Hemminger
2025-11-11T22:19:03Z

Enable and fix format-truncation warnings in examples and tests.

v2 - fix build warnings (more fixes needed)
- do test as well (could be separate series?)

Stephen Hemminger (7):
examples/server_node_efd: fix format overflow
examples/vdpa: fix format overflow warning
examples/ip_reassembly: add check before formatting name
examples: re-enable format truncation warning
test: refactor file prefix arg handling
test: increase size of memzone name
test: re-enable format-truncation warnings

app/test/meson.build | 1 -
app/test/test_eal_flags.c | 161 ++++++++-------------
app/test/test_memzone.c | 2 +-
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 | 9 +-
8 files changed, 77 insertions(+), 113 deletions(-)

--
2.51.0