migration: A few fixes on coverity reports
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesIn review
- v13 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Added tags for Fabiano
- Patch 1: dump the %d too along with %s [Fabiano]
- Patch 2: make the error returned to the caller, with some refactoring
- Added new patch 4 to fix a crash on cpr-exec when args==NULL
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | migration: Fix error leak in postcopy_ram_listen_thread()migration/ | +4 | 1 reply | |
| 2/4 | migration/cpr: Fix coverity report in cpr_exec_persist_state()include/ migration/ migration/ +1 more | +20 | 1 reply | |
| 3/4 | migration/cpr: Fix UAF in cpr_exec_cb() when execvp() failsmigration/ | +2 | 0 replies | |
| 4/4 | migration/cpr: Avoid crashing QEMU when cpr-exec runs with no argsmigration/ | +6 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Fabiano Rosas |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] migration: A few fixes on coverity reports
v2:
- Added tags for Fabiano
- Patch 1: dump the %d too along with %s [Fabiano]
- Patch 2: make the error returned to the caller, with some refactoring
- Added new patch 4 to fix a crash on cpr-exec when args==NULL
A small series that fixes three coverity reported issues. Please review, thanks.
Peter Xu (4):
migration: Fix error leak in postcopy_ram_listen_thread() migration/cpr: Fix coverity report in cpr_exec_persist_state() migration/cpr: Fix UAF in cpr_exec_cb() when execvp() fails migration/cpr: Avoid crashing QEMU when cpr-exec runs with no args
include/migration/cpr.h | 4 ++-- migration/cpr-exec.c | 14 ++++++++++---- migration/cpr.c | 15 +++++++++------ migration/migration.c | 8 +++++++- migration/savevm.c | 7 ++++--- 5 files changed, 32 insertions(+), 16 deletions(-)
Signature · 1 line
2.50.1