Skip to content

migration: Fix possible access out of bounds

Fabiano Rosas qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3migration: HMP: Fix possible out-of-bounds accessmigration/migration-hmp-cmds.c+2 -40 replies
2/3migration: HMP: Fix postcopy latency distribution labelmigration/migration-hmp-cmds.c+1 -11 reply
3/3cutils: Add time_us_to_strinclude/qemu/cutils.h migration/migration-hmp-cmds.c util/cutils.c+16 -150 replies

Reviews trailers per patch

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

PatchPhilippe Mathieu-Daudé
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] migration: Fix possible access out of bounds

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(-)
Signature · 1 line
2.35.3