qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] migration: Fix possible access out of bounds
@ 2025-07-16 18:26 Fabiano Rosas
  2025-07-16 18:26 ` [PATCH v2 1/3] migration: HMP: Fix possible out-of-bounds access Fabiano Rosas
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fabiano Rosas @ 2025-07-16 18:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Xu, Philippe Mathieu-Daudé, Peter Maydell,
	Prasad Pandit

Fix the issue detected by Coverity in format_time_str() and move
the function into the generic utils as suggested.

v2:
- Fix the incorrect loop condition.
- Make the array static and fix argument name in signature.

Fabiano Rosas (3):
  migration: HMP: Fix possible out-of-bounds access
  migration: HMP: Fix postcopy latency distribution label
  cutils: Add time_us_to_str

 include/qemu/cutils.h          |  1 +
 migration/migration-hmp-cmds.c | 19 ++-----------------
 util/cutils.c                  | 13 +++++++++++++
 3 files changed, 16 insertions(+), 17 deletions(-)

-- 
2.35.3



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

end of thread, other threads:[~2025-07-21 14:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 18:26 [PATCH v2 0/3] migration: Fix possible access out of bounds Fabiano Rosas
2025-07-16 18:26 ` [PATCH v2 1/3] migration: HMP: Fix possible out-of-bounds access Fabiano Rosas
2025-07-16 18:26 ` [PATCH v2 2/3] migration: HMP: Fix postcopy latency distribution label Fabiano Rosas
2025-07-17  8:37   ` Philippe Mathieu-Daudé
2025-07-16 18:26 ` [PATCH v2 3/3] cutils: Add time_us_to_str Fabiano Rosas
2025-07-21 14:28 ` [PATCH v2 0/3] migration: Fix possible access out of bounds Fabiano Rosas

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 NNTP newsgroup(s).