public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/7] Fix issues and false positives in code coverge tool
@ 2026-07-08 22:31 Jon Maloy
  2026-07-08 22:31 ` [PATCH 1/7] passt: Initialise listening socket fds to -1 Jon Maloy
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Jon Maloy @ 2026-07-08 22:31 UTC (permalink / raw)
  To: sbrivio, david, jmaloy, passt-dev

This series fixes minor issues found by code coverage tools in the
main passt code and in documentation examples.

The core code changes addresses missing fd initialisations and
explicit invariant checks for unsigned arithmetic.

We also fix address buffer handling, type mismatches, uninitialised
variables, and resource leaks in the documentation example code.

Jon Maloy (7):
  passt: Initialise listening socket fds to -1
  udp_vu: Assert iov_tail_clone() return before assigning to msg_iovlen
  tap: Assert IPv6 tail size before subtracting header length
  doc/migration: Use strncpy() for socket path and fix argv access
  doc/migration: Fix buffer type mismatch in recv() call
  doc/platform-requirements: Initialise va_list before va_start()
  doc/platform-requirements: Close leaked sockets in test_close_dup()

 doc/migration/source.c                    |  2 +-
 doc/migration/target.c                    | 10 ++++------
 doc/platform-requirements/common.h        |  2 +-
 doc/platform-requirements/udp-close-dup.c |  3 +++
 passt.c                                   |  3 +++
 tap.c                                     |  4 +++-
 udp_vu.c                                  |  7 +++++--
 7 files changed, 20 insertions(+), 11 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-07-09  2:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08 22:31 [PATCH 0/7] Fix issues and false positives in code coverge tool Jon Maloy
2026-07-08 22:31 ` [PATCH 1/7] passt: Initialise listening socket fds to -1 Jon Maloy
2026-07-09  2:09   ` David Gibson
2026-07-08 22:31 ` [PATCH 2/7] udp_vu: Assert iov_tail_clone() return before assigning to msg_iovlen Jon Maloy
2026-07-09  2:11   ` David Gibson
2026-07-08 22:31 ` [PATCH 3/7] tap: Assert IPv6 tail size before subtracting header length Jon Maloy
2026-07-09  2:13   ` David Gibson
2026-07-08 22:32 ` [PATCH 4/7] doc/migration: Use strncpy() for socket path and fix argv access Jon Maloy
2026-07-09  2:20   ` David Gibson
2026-07-08 22:32 ` [PATCH 5/7] doc/migration: Fix buffer type mismatch in recv() call Jon Maloy
2026-07-09  2:22   ` David Gibson
2026-07-08 22:32 ` [PATCH 6/7] doc/platform-requirements: Initialise va_list before va_start() Jon Maloy
2026-07-09  2:40   ` David Gibson
2026-07-08 22:32 ` [PATCH 7/7] doc/platform-requirements: Close leaked sockets in test_close_dup() Jon Maloy
2026-07-09  2:41   ` David Gibson
2026-07-09  2:09 ` [PATCH 0/7] Fix issues and false positives in code coverge tool David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).