qcow2: Small error path fixes for snapshot writing
Status from this message: Thanks, applied all to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qcow2: Always use error path on writing snapshotsblock/ | +4 | 0 replies | |
| 2/3 | qcow2: Free allocated snapshot table on errorblock/ | +4 | 0 replies | |
| 3/3 | qcow2: Assert against snapshot name/ID overflowblock/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for snapshot writing
Errors in qcow2_write_snapshots should always go down the error path. If this path is taken, the newly allocated snapshot table clusters are abandoned and should thus be freed.
Furthermore, we should safeguard against a possible future increase of QEMU's maximum snapshot name/ID length.
Max Reitz (3):
qcow2: Always use error path on writing snapshots
qcow2: Free allocated snapshot table on error
qcow2: Assert against snapshot name/ID overflow
block/qcow2-snapshot.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.3.1